pub fn emit_into_code_graph(
index: &ClasspathIndex,
graph: &mut CodeGraph,
provenance: &[ClasspathProvenance],
) -> ClasspathResult<EmissionResult>Expand description
Emit classpath nodes and structural edges directly into a CodeGraph.
This mutates the graph in place so existing graph state such as confidence
and epoch metadata is preserved. It commits staged nodes into the node
arena, remaps staged edges, inserts them into the bidirectional edge store,
remaps metadata keys, and returns the final classpath FQN -> NodeId map.
ยงErrors
Returns ClasspathError::EmissionError if staging commit, string
interning, or file registration fails.