Skip to main content

find_git_root

Function find_git_root 

Source
pub fn find_git_root(path: impl AsRef<Path>) -> Option<PathBuf>
Expand description

Returns the path of the top-level directory of the working git tree.