Skip to main content

is_content_change

Function is_content_change 

Source
pub(crate) fn is_content_change(kind: EventKind) -> bool
Expand description

Whether an event kind can change a watched path’s content. A read cannot, and it matters: on inotify a read of a watched path is itself an event, so a watcher that reacts to one feeds itself.