pub enum IgnoreType {
Default,
Hidden,
GitIgnore,
GitGlobal,
GitExclude,
Ignore,
}Expand description
Define the ignore types for directory traversing.
Variants§
Default
use git-ignore, .gitglobal, .gitexclude, and .ignore.
Hidden
ignore hidden files and directories.
GitIgnore
ignore files and directories that are listed in .gitignore.
GitGlobal
ignore files and directories that are listed in .gitglobal.
GitExclude
ignore files and directories that are listed in .gitexclude.
Ignore
ignore files and directories that are listed in .ignore.
Trait Implementations§
Source§impl Clone for IgnoreType
impl Clone for IgnoreType
Source§fn clone(&self) -> IgnoreType
fn clone(&self) -> IgnoreType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IgnoreType
impl Debug for IgnoreType
Source§impl Hash for IgnoreType
impl Hash for IgnoreType
Source§impl PartialEq for IgnoreType
impl PartialEq for IgnoreType
Source§impl ValueEnum for IgnoreType
impl ValueEnum for IgnoreType
impl Copy for IgnoreType
impl Eq for IgnoreType
impl StructuralPartialEq for IgnoreType
Auto Trait Implementations§
impl Freeze for IgnoreType
impl RefUnwindSafe for IgnoreType
impl Send for IgnoreType
impl Sync for IgnoreType
impl Unpin for IgnoreType
impl UnwindSafe for IgnoreType
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.