pub trait FileFilter: Send + Sync {
// Required method
fn should_watch(&self, path: &Path) -> bool;
}Expand description
Trait for filtering which files should be watched
Required Methods§
Sourcefn should_watch(&self, path: &Path) -> bool
fn should_watch(&self, path: &Path) -> bool
Returns true if the file should be watched