fn watch_action(
signals: &[Signal],
events: &[Event],
has_paths: bool,
) -> WatchActionExpand 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.