Skip to main content

codegraph_diff

Function codegraph_diff 

Source
pub fn codegraph_diff(
    base_batch: &RecordBatch,
    head_batch: &RecordBatch,
) -> Result<CodeDiffResult>
Expand description

Compute an object-level diff between two CodeNodes batches.

Compares by body_hash — if the hash changed, the node was modified. Nodes present in head but not base are added. Nodes present in base but not head are removed.