Skip to main content

find_project_root

Function find_project_root 

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

Walk up from base looking for the nearest ancestor containing harn.toml. Mirrors harn-vm’s in-VM walker so the resolver can run from the LSP/CLI without dragging in the VM crate.