find_repo_root

Function find_repo_root 

Source
pub fn find_repo_root<P: AsRef<Path>>(start_path: P) -> Option<PathBuf>
Expand description

Find the repository root by looking for common markers (.git, Cargo.toml, etc.)