Skip to main content

find_project_root

Function find_project_root 

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

Walk up the directory tree from path to find the directory containing .agent-doc (the project root). Returns None if no such ancestor exists.