Enum git2::Delta
[−]
[src]
pub enum Delta {
Unmodified,
Added,
Deleted,
Modified,
Renamed,
Copied,
Ignored,
Untracked,
Typechange,
Unreadable,
Conflicted,
}What type of change is described by a DiffDelta?
Variants
UnmodifiedNo changes
AddedEntry does not exist in old version
DeletedEntry does not exist in new version
ModifiedEntry content changed between old and new
RenamedEntry was renamed between old and new
CopiedEntry was copied from another old entry
IgnoredEntry is ignored item in workdir
UntrackedEntry is untracked item in workdir
TypechangeType of entry changed between old and new
UnreadableEntry is unreadable
ConflictedEntry in the index is conflicted
Trait Implementations
impl Copy for Delta[src]
impl Clone for Delta[src]
fn clone(&self) -> Delta[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Delta[src]
impl PartialEq for Delta[src]
fn eq(&self, __arg_0: &Delta) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.