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

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

impl Clone for Delta[src][+]

impl Copy for Delta[src]

impl Debug for Delta[src][+]

impl Eq for Delta[src]

impl PartialEq<Delta> for Delta[src][+]

impl StructuralEq for Delta[src]

impl StructuralPartialEq for Delta[src]

Auto Trait Implementations

impl RefUnwindSafe for Delta

impl Send for Delta

impl Sync for Delta

impl Unpin for Delta

impl UnwindSafe for Delta

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.