pub struct MatcherOptions {
pub respect_gitignore: bool,
pub case_sensitive: bool,
pub include_hidden: bool,
pub custom_gitignore_files: Vec<PathBuf>,
pub override_patterns: Vec<String>,
}
Expand description
Options for combined pattern matching
Fields§
§respect_gitignore: bool
Whether to respect gitignore files
case_sensitive: bool
Whether pattern matching is case sensitive
Whether to match hidden files by default
custom_gitignore_files: Vec<PathBuf>
Custom gitignore file paths
override_patterns: Vec<String>
Override gitignore patterns (always respected)
Trait Implementations§
Source§impl Clone for MatcherOptions
impl Clone for MatcherOptions
Source§fn clone(&self) -> MatcherOptions
fn clone(&self) -> MatcherOptions
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 MatcherOptions
impl Debug for MatcherOptions
Auto Trait Implementations§
impl Freeze for MatcherOptions
impl RefUnwindSafe for MatcherOptions
impl Send for MatcherOptions
impl Sync for MatcherOptions
impl Unpin for MatcherOptions
impl UnwindSafe for MatcherOptions
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