Skip to main content

extract_symbol_graph_with_source_controlled

Function extract_symbol_graph_with_source_controlled 

Source
pub fn extract_symbol_graph_with_source_controlled(
    path: &str,
    language: Option<&str>,
    content: &str,
    control: &IndexWorkControl,
) -> Result<(ParserKind, SymbolGraph), IndexWorkFailure>
Expand description

Extract a graph and the parser that produced its retained source facts.

The first tuple item preserves source provenance independently of conservative fact confidence. Cancellation never returns a partial extraction result.

ยงErrors

Returns a typed cancellation or deadline failure.