Module diff

Source
Expand description

Types that represent diff(s) in a Git repo.

Modules§

git

Structs§

Added
A file that was added within a Diff.
Addition
A addition of a Line at the line_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 the line_no.
Diff
The serializable representation of a git diff.
DiffFile
A modified file.
FileStats
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§

DiffContent
The set of changes for a given file.
EofNewLine
FileDiff
FileMode
File mode in a diff.
Modification
Either the modification of a single Line, or just contextual information.