Enum git2::ResetType
[−]
[src]
pub enum ResetType {
Soft,
Mixed,
Hard,
}An enumeration of the operations that can be performed for the reset
method on a Repository.
Variants
SoftMove the head to the given commit.
MixedSoft plus reset the index to the commit.
HardMixed plus changes in the working tree are discarded.
Trait Implementations
impl Clone for ResetType[src]
fn clone(&self) -> ResetType
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