pub fn validate_git_repo(path: &Path) -> Result<PathBuf, RepographError>Expand description
Verify that path is a git repository, returning its canonical absolute
form on success. Symlinks are resolved; relative inputs are absolutized.
ยงErrors
Returns RepographError::NotFound when path does not exist on disk, or
RepographError::GitOpen when it exists but is not a git repository.