Expand description
Owned, serializable diff domain types.
Structs§
- Diff
Document - A complete renderer-neutral review snapshot: every changed file with its patch and, when captured, both complete source versions.
- File
Diff - One changed file.
- Hunk
- A unified-diff hunk.
- Mode
Change - A file mode change, represented as Git’s six-digit mode string.
- Patch
Line - A line in a hunk, including canonical old/new numbering.
- Repo
Path - A validated UTF-8 path relative to a repository root.
Enums§
- Diff
Scope - The snapshot included in a document.
- Diff
Side - The side of a patch to which a line or comment belongs.
- File
Status - Git’s file operation classification.
- Patch
Line Kind - A line’s semantic patch kind.
- Stage
State - Index/worktree staging state.