Skip to main content

load_unified_graph_with_progress

Function load_unified_graph_with_progress 

Source
pub fn load_unified_graph_with_progress(
    root: &Path,
    config: &GraphLoadConfig,
    progress: SharedReporter,
) -> Result<CodeGraph>
Expand description

Load a unified code graph with progress reporting.

Same as load_unified_graph but accepts a progress reporter for tracking build progress when loading from source files.

§Arguments

  • root - Root directory to scan for source files
  • config - Configuration for file walking (hidden files, symlinks, depth)
  • progress - Progress reporter for build status updates

§Returns

A CodeGraph populated with nodes and edges from all supported languages

§Errors

Returns an error if the path is missing, the snapshot is invalid, or the graph build fails.