Skip to main content

document_source_dirs

Function document_source_dirs 

Source
pub fn document_source_dirs(source_map: &SourceMap) -> Vec<PathBuf>
Expand description

Shared option→validation mapping and document-dir resolution — single source of truth so the LSP/MCP diagnostics cannot drift from check (issue #1648). Per-file_id source-file directories, parallel to source_map.files().

Lets the validator resolve a relative document path against its own directive’s file (matching Beancount and include) instead of the CWD.