Skip to main content

Crate codex_file_watcher

Crate codex_file_watcher 

Source
Expand description

Watches subscribed files or directories and routes coarse-grained change notifications to the subscribers that own matching watched paths.

Structsยง

DebouncedWatchReceiver
Coalesces file watcher notifications that arrive within a fixed debounce window after the first event in each batch.
FileWatcher
Multi-subscriber file watcher built on top of notify.
FileWatcherEvent
Coalesced file change notification for a subscriber.
FileWatcherSubscriber
Handle used to register watched paths for one logical consumer.
Receiver
Receives coalesced change notifications for a single subscriber.
ThrottledWatchReceiver
Coalesces bursts of watch notifications and emits at most once per interval.
WatchPath
Path subscription registered by a FileWatcherSubscriber.
WatchRegistration
RAII guard for a set of active path registrations.