Skip to main content

get_git_base_dir

Function get_git_base_dir 

Source
pub fn get_git_base_dir(scope: Scope) -> Result<PathBuf, Error>
Expand description

Returns the root directory for Git repositories for a given scope.

ยงErrors

Returns an error if the home directory or current directory cannot be determined.