pub fn existing(directory: impl AsRef<Path>) -> Result<Path, Error>
Expand description

Find the location of the git repository directly in directory or in any of its parent directories.

Fail if no valid-looking git repository could be found.