Function git_repository::path::discover::existing[][src]

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

Returns the working tree if possible and the found repository is not bare or the git repository itself.