Skip to main content

git_root

Function git_root 

Source
fn git_root(dir: &Path) -> Option<PathBuf>
Expand description

The nearest directory at or above dir holding a .git directory or file (the CLI’s Gt).