Skip to main content

Module diff

Module diff 

Source
Expand description

Structural diff between two commits’ materialized contexts: which turns were added, removed, or held in common — never a text diff. Messages are immutable, content-addressed atoms, so there is no “modify in place”; a changed turn shows up as a Removed entry for the old commit paired with an Added entry for the new one, exactly as a line-level text diff represents an edited line.

Structs§

ContextDiff
A structural diff between two materialized contexts.

Enums§

DiffOp
One position in a structural diff.

Functions§

diff
Diffs the materialized contexts of two arbitrary commits.