Skip to main content

semantic_diff

Function semantic_diff 

Source
pub fn semantic_diff(
    diff: &CodeDiffResult,
    nodes_batch: &RecordBatch,
    edges_batch: &RecordBatch,
) -> SemanticDiff
Expand description

Compute a semantic diff from an object-level diff and the CodeGraph state.

diff is the object-level diff (from codegraph_diff). nodes_batch is the head CodeNodes batch (current state). edges_batch is the head CodeEdges batch (current state).