pub enum Delta {
Unmodified,
Added,
Deleted,
Modified,
Renamed,
Copied,
Ignored,
Untracked,
Typechange,
Unreadable,
Conflicted,
}
Expand description
What type of change is described by a DiffDelta
?
Variants§
Unmodified
No changes
Added
Entry does not exist in old version
Deleted
Entry does not exist in new version
Modified
Entry content changed between old and new
Renamed
Entry was renamed between old and new
Copied
Entry was copied from another old entry
Ignored
Entry is ignored item in workdir
Untracked
Entry is untracked item in workdir
Typechange
Type of entry changed between old and new
Unreadable
Entry is unreadable
Conflicted
Entry in the index is conflicted
Trait Implementations§
source§impl PartialEq for Delta
impl PartialEq for Delta
impl Copy for Delta
impl Eq for Delta
impl StructuralPartialEq for Delta
Auto Trait Implementations§
impl Freeze for Delta
impl RefUnwindSafe for Delta
impl Send for Delta
impl Sync for Delta
impl Unpin for Delta
impl UnwindSafe for Delta
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more