Skip to main content

event_matches

Function event_matches 

Source
fn event_matches(event: &Event, target: &WatchedPath) -> bool
Expand description

Whether one notify event means the watched file may have changed. A rescan says events were dropped and anything may have moved, and it carries no paths, so it is decided before the path test.