Enum git2::DiffLineType [−][src]
pub enum DiffLineType {
Context,
Addition,
Deletion,
ContextEOFNL,
AddEOFNL,
DeleteEOFNL,
FileHeader,
HunkHeader,
Binary,
}
Expand description
Line origin constants.
Variants
These values will be sent to git_diff_line_cb
along with the line
Both files have no LF at end
Old has no LF at end, new does
Old has LF at end, new does not
The following values will only be sent to a git_diff_line_cb
when
the content of a diff is being formatted through git_diff_print
.
For “Binary files x and y differ”
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DiffLineType
impl Send for DiffLineType
impl Sync for DiffLineType
impl Unpin for DiffLineType
impl UnwindSafe for DiffLineType
Blanket Implementations
Mutably borrows from an owned value. Read more