Skip to main content

analyse_project

Function analyse_project 

Source
pub fn analyse_project(
    root: &Path,
    overlay: &HashMap<PathBuf, String>,
) -> ProjectAnalysis
Expand description

v0.24: analyse a project without building — non-bailing, overlay-aware, file-attributed (ADR 0052). overlay maps canonicalised absolute paths to buffer text layered over disk reads (unsaved editor buffers).

Slice A: the single-tree convenience over analyse_project_with (Roots::Single), preserving the pre-slice-A behaviour for callers that hand in one fixture root and want one tree walked.