Skip to main content

path_is_ignored

Function path_is_ignored 

Source
pub fn path_is_ignored(path: &Path) -> bool
Expand description

True if any component of path is an ignored directory (e.g. node_modules, .git, .undo). The watcher uses this to filter events with the exact same definition the snapshotter uses, so the two never disagree.