Skip to main content

detect_project_root

Function detect_project_root 

Source
pub fn detect_project_root(cwd: &Path) -> Option<PathBuf>
Expand description

Walk upward from cwd to detect a project root. Returns None if the filesystem root is reached without finding any marker.