Expand description
Diff model: what changed, organized as files -> hunks -> lines.
Structs§
- Diff
Line - Diff
Model - File
Diff - Hunk
- HunkId
- Stable identity for a hunk: hash of its normalized content. Survives edits elsewhere in the file; changes when the hunk’s lines change.
Enums§
Functions§
- hunk_id
- Hash the hunk’s content (kinds + text) into a stable id using git’s blob hashing, so no extra hash dependency is needed.