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 wbetween 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

Derived Implementations

impl Debug for Delta

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Delta

fn clone(&self) -> Delta

fn clone_from(&mut self, source: &Self)

impl Copy for Delta