Skip to main content

project_root

Function project_root 

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

Start project discovery at the document directory, preserving nearer installs. Ancestor lookup is bounded by the first repository, or a rumdl config if there is no repository. Without either marker, only this directory is used.