pub enum IgnoreSource {
PerDirectory(String),
InfoExclude,
CoreExcludesFile(String),
}Expand description
Where an ignore pattern was loaded from.
Variants§
PerDirectory(String)
A per-directory exclude file (typically .gitignore).
InfoExclude
Patterns from .git/info/exclude.
CoreExcludesFile(String)
Patterns from core.excludesfile (or the XDG default).
Trait Implementations§
Source§impl Clone for IgnoreSource
impl Clone for IgnoreSource
Source§impl Debug for IgnoreSource
impl Debug for IgnoreSource
Source§impl Display for IgnoreSource
impl Display for IgnoreSource
impl Eq for IgnoreSource
Source§impl PartialEq for IgnoreSource
impl PartialEq for IgnoreSource
impl StructuralPartialEq for IgnoreSource
Auto Trait Implementations§
impl Freeze for IgnoreSource
impl RefUnwindSafe for IgnoreSource
impl Send for IgnoreSource
impl Sync for IgnoreSource
impl Unpin for IgnoreSource
impl UnsafeUnpin for IgnoreSource
impl UnwindSafe for IgnoreSource
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> 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§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.