[][src]Enum git_checks::StatusChange

pub enum StatusChange {
    Added,
    Copied(u8),
    Deleted,
    Modified(Option<u8>),
    Renamed(u8),
    TypeChanged,
    Unmerged,
    Unknown,
}

Ways a file can be changed in a commit.

Variants

Added

The file was added in this commit.

Copied(u8)

The file was copied in this commit with the given similarity index.

Deleted

The file was deleted in this commit.

Modified(Option<u8>)

The file was copied in this commit with an optional similarity index.

Renamed(u8)

The file was renamed in this commit with the given similarity index.

TypeChanged

The path changed type (types include directory, symlinks, and files).

Unmerged

The file is unmerged in the working tree.

Unknown

Git doesn't know what's going on.

Trait Implementations

impl PartialEq<StatusChange> for StatusChange
[src]

impl Eq for StatusChange
[src]

impl Clone for StatusChange
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<char> for StatusChange
[src]

impl Copy for StatusChange
[src]

impl Debug for StatusChange
[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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