pub fn repo_info(path: &Path) -> Result<RepoInfo>Expand description
Retrieves information about a git repository.
Discovers the repository containing the given path and extracts branch, commit, and remote information.
ยงErrors
Returns an error if the path is not inside a git repository.