Skip to main content

watch_action

Function watch_action 

Source
fn watch_action(
    signals: &[Signal],
    events: &[Event],
    has_paths: bool,
) -> WatchAction
Expand description

Decides what the watcher does with a batch of events that came with signals.

has_paths is whether any of the events names a filesystem path.