Enum git_checks::impl_prelude::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
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 Debug for StatusChange
[src]
impl Clone for StatusChange
[src]
fn clone(&self) -> StatusChange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for StatusChange
[src]
impl PartialEq for StatusChange
[src]
fn eq(&self, __arg_0: &StatusChange) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StatusChange) -> bool
This method tests for !=
.