Skip to main content

Module diff

Module diff 

Source
Expand description

Public diff API — user-facing change inspection.

The merge engine itself does NOT depend on diff. Diff is a presentation-layer utility for:

  • Agent conflict resolution — “show me what changed”
  • Portals UI — React Flow display of additions/removals
  • Review workflows — preview before publishing

Structs§

Change
A single change detected by the diff engine.
DiffResult
The result of a diff operation.

Enums§

ChangeOp
The kind of change operation.

Functions§

diff
Compute the diff between a base document and a candidate document.
diff_normalized
Convenience: compute diff with automatic normalization.