Expand description
Types that represent diff(s) in a Git repo.
Modules§
Structs§
- Added
- A file that was added within a
Diff
. - Addition
- A addition of a
Line
at theline_no
. - Copied
- A file that was copied within a
Diff
. - Deleted
- A file that was deleted within a
Diff
. - Deletion
- A deletion of a
Line
at theline_no
. - Diff
- The serializable representation of a
git diff
. - Diff
File - A modified file.
- File
Stats - Statistics describing a particular
FileDiff
. - Hunk
- A set of changes across multiple lines.
- Hunks
- A set of
Hunk
changes. - Line
- The content of a single line.
- Modified
- A file that was modified within a
Diff
. - Moved
- A file that was moved within a
Diff
. - Stats
- Statistics describing a particular
Diff
.
Enums§
- Diff
Content - The set of changes for a given file.
- EofNew
Line - File
Diff - File
Mode - File mode in a diff.
- Modification
- Either the modification of a single
Line
, or just contextual information.