Enum git2::ResetType [−][src]
pub enum ResetType {
Soft,
Mixed,
Hard,
}
Expand description
An enumeration of the operations that can be performed for the reset
method on a Repository
.
Variants
Move the head to the given commit.
Soft plus reset the index to the commit.
Mixed plus changes in the working tree are discarded.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ResetType
impl UnwindSafe for ResetType
Blanket Implementations
Mutably borrows from an owned value. Read more