Skip to main content

diff_node_paths

Function diff_node_paths 

Source
pub fn diff_node_paths(a: &[RunEvent], b: &[RunEvent]) -> NodePathDiff
Expand description

Diff two ordered RunEvent sequences by their node traversal paths.

Extracts "node_entered" events from each sequence, then walks both paths in lockstep to find the first divergence point. Returns NodePathDiff { divergence: None } when the paths are identical.