pub enum Submodule {
AsConfigured {
check_dirty: bool,
},
Given {
ignore: Ignore,
check_dirty: bool,
},
}Available on crate feature
status only.Expand description
How to obtain a submodule’s status.
Variants§
AsConfigured
Use the diff.submoduleIgnore configuration to determine, or if not set,
use the submodule’s own ‘ignore’ value to determine
which submodules participate in the status query, and to which extent.
Fields
Given
Instead of the configuration, use the given ‘ignore’ value. This makes it possible to fine-tune the amount of work invested in this status, while allowing to turn off all submodule status information.
Fields
Trait Implementations§
Source§impl Ord for Submodule
impl Ord for Submodule
Source§impl PartialOrd for Submodule
impl PartialOrd for Submodule
impl Copy for Submodule
impl Eq for Submodule
impl StructuralPartialEq for Submodule
Auto Trait Implementations§
impl Freeze for Submodule
impl RefUnwindSafe for Submodule
impl Send for Submodule
impl Sync for Submodule
impl Unpin for Submodule
impl UnwindSafe for Submodule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.