Structs§
- Diff
Data - Top-level parsed diff result.
- Diff
File - One changed file in the diff.
- Diff
Line - A single line within a hunk.
- Diff
Segment - A segment of a line for word-level inline diff highlighting.
- Hunk
- One @@ hunk section within a file.
Enums§
- Line
Type - Whether a diff line is added, removed, or context.
- Segment
Tag - Whether a segment is unchanged or changed in an inline diff.
Functions§
- parse
- Parse raw
git diff HEAD -Moutput into structured DiffData.