Expand description
Data model for the diff subsystem.
All types are pure (no actor / host references). The
HunkIndex is what D.2’s DiffSubsystem will publish via
ArcSwap; the Hunk and LineRange shapes are what every
consumer of D.3+ reads against.
Structs§
- Hunk
- A single hunk: a contiguous region of change across the participating documents.
- Hunk
Index - Published hunk list with the algorithm used and a revision tag.
- Line
Range - Half-open line range
[start, end)in a document.
Enums§
- Diff
Algorithm - Diff algorithm used by
imara-diff. - Hunk
Kind - What kind of change a hunk represents.