Skip to main content

find_project_root

Function find_project_root 

Source
pub fn find_project_root(start: Option<&Path>) -> Result<PathBuf>
Expand description

Walk up from start (or the current working directory if None) until a directory containing Cargo.toml is found. Returns NotFound otherwise.