Skip to main content

run_trace_import_path

Function run_trace_import_path 

Source
pub fn run_trace_import_path(
    options: &TraceImportPathOptions,
) -> Result<TraceImportPathProgrammaticOutput, ProgrammaticError>
Expand description

Trace the shortest import path between two modules.

An unreachable pair is a RESULT, not an error: the output reports reachable: false with zero hops. A missing or ambiguous endpoint is an error.

ยงErrors

Returns a structured programmatic error for invalid options, config load failures, graph construction failures, or a missing or ambiguous endpoint.