Skip to main content

load_or_build

Function load_or_build 

Source
pub fn load_or_build(project_root: &str) -> ProjectIndex
Expand description

Load the best available graph index, trying multiple root path variants. If no valid index exists, automatically scans the project to build one. This is the primary entry point — ensures zero-config usage.