Enum git_checks::StatusChange [] [src]

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

The file was added in this commit.

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

The file was deleted in this commit.

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

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

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

The file is unmerged in the working tree.

Git doesn't know what's going on.

Trait Implementations

impl Debug for StatusChange
[src]

[src]

Formats the value using the given formatter.

impl Clone for StatusChange
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StatusChange
[src]

impl PartialEq for StatusChange
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for StatusChange
[src]

impl From<char> for StatusChange
[src]

[src]

Performs the conversion.