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
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 Debug for StatusChange
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for StatusChange
[src]
impl Clone for StatusChange
fn clone(&self) -> StatusChange
[src]
fn clone(&self) -> StatusChange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for StatusChange
[src]
impl Copy for StatusChange
impl PartialEq for StatusChange
[src]
impl PartialEq for StatusChange
fn eq(&self, other: &StatusChange) -> bool
[src]
fn eq(&self, other: &StatusChange) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &StatusChange) -> bool
[src]
fn ne(&self, other: &StatusChange) -> bool
This method tests for !=
.
impl Eq for StatusChange
[src]
impl Eq for StatusChange
impl From<char> for StatusChange
[src]
impl From<char> for StatusChange
Auto Trait Implementations
impl Send for StatusChange
impl Send for StatusChange
impl Sync for StatusChange
impl Sync for StatusChange