pub trait PatternMatcher: Send + Sync {
// Required methods
fn matches(&self, path: &Path) -> bool;
fn pattern(&self) -> &str;
// Provided method
fn is_case_sensitive(&self) -> bool { ... }
}
Expand description
Trait for pattern matching implementations (glob, regex, etc.)
Required Methods§
Provided Methods§
Sourcefn is_case_sensitive(&self) -> bool
fn is_case_sensitive(&self) -> bool
Check if pattern is case sensitive