Skip to main content
← dvs documentation Rust API reference

find_repo_root

Function find_repo_root 

Source
pub fn find_repo_root(start_dir: impl AsRef<Path>) -> PathBuf
Expand description

Finds the root of a project by walking up from the given directory until a dvs.toml is found

Returns the start_dir if no dvs.toml has been found.