Skip to main content

Module diff

Module diff 

Source
Expand description

Semantic diff for AGM files.

Compares two AgmFile values at the structural level – nodes, fields, and relationships – rather than raw text. Produces a typed DiffReport that classifies every change by kind and severity.

Re-exports§

pub use fields::FieldChange;
pub use fields::FieldValueSnapshot;
pub use header::HeaderChange;
pub use node::NodeDiff;
pub use render::DiffFormat;

Modules§

fields
Field-level diff within a single node, and severity classification.
header
Header field-by-field comparison.
node
Node-level diff: match nodes by ID between two AGM files.
relation
Specialized element-level diff for list and relationship fields.
render
Rendering a DiffReport to text, JSON, or Markdown.

Structs§

DiffReport
The complete semantic diff between two AGM files.
DiffSummary
Aggregate statistics for a diff report.

Enums§

ChangeKind
The kind of structural change.
ChangeSeverity
Semantic severity of a change, used for CI gating.

Functions§

diff
Computes the semantic diff between two AGM files.