Skip to main content

project_root

Function project_root 

Source
pub fn project_root(start: &Path) -> PathBuf
Expand description

Best guess at the project root: the closest ancestor holding a slopguard.toml, else the closest holding a .git, else start itself.