Skip to main content

diff

Function diff 

Source
pub fn diff(left: &AgmFile, right: &AgmFile) -> DiffReport
Expand description

Computes the semantic diff between two AGM files.

Nodes are matched by ID. Nodes present only in left are reported as removed; nodes present only in right are reported as added; nodes present in both are compared field-by-field.

Header fields are compared independently of nodes.