Enum git_checks::impl_prelude::StatusChange
source · pub enum StatusChange {
Added,
Copied(u8),
Deleted,
Modified(Option<u8>),
Renamed(u8),
TypeChanged,
Unmerged,
Unknown,
}
Expand description
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§
source§impl Clone for StatusChange
impl Clone for StatusChange
source§fn clone(&self) -> StatusChange
fn clone(&self) -> StatusChange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more