Enum git2::SubmoduleIgnore
source · [−]pub enum SubmoduleIgnore {
Unspecified,
None,
Untracked,
Dirty,
All,
}
Expand description
Submodule ignore values
These values represent settings for the submodule.$name.ignore
configuration value which says how deeply to look at the working
directory when getting the submodule status.
Variants
Unspecified
Use the submodule’s configuration
None
Any change or untracked file is considered dirty
Untracked
Only dirty if tracked files have changed
Dirty
Only dirty if HEAD has moved
All
Never dirty
Implementations
sourceimpl SubmoduleIgnore
impl SubmoduleIgnore
sourcepub fn from_raw(raw: git_submodule_ignore_t) -> Self
pub fn from_raw(raw: git_submodule_ignore_t) -> Self
Converts a raw::git_submodule_ignore_t
to a SubmoduleIgnore
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SubmoduleIgnore
impl Send for SubmoduleIgnore
impl Sync for SubmoduleIgnore
impl Unpin for SubmoduleIgnore
impl UnwindSafe for SubmoduleIgnore
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more