Expand description
File watcher for zccache.
Provides cross-platform file watching with settle/coalesce buffering, directory ignore filtering, and integration with the metadata cache’s clock-based change tracking.
Architecture:
notify (OS thread) → mpsc → SettleBuffer (tokio task) → CacheSystemRe-exports§
pub use ignore::IgnoreFilter;pub use notify_watcher::NotifyWatcher;pub use polling_watcher::PollWatchBatch;pub use polling_watcher::PollWatchObserver;pub use polling_watcher::PollingWatcher;pub use polling_watcher::PollingWatcherConfig;pub use recovery::OverflowRecovery;pub use settle::SettleBuffer;pub use settle::SettledEvent;
Modules§
- ignore
- Directory ignore filter for file watching.
- notify_
watcher - Concrete file watcher backed by the
notifycrate. - polling_
watcher - recovery
- Deferred overflow recovery.
- settle
- Settle/coalesce buffer for bursty filesystem events.
Structs§
- Watcher
Config - Configuration for the file watcher.
Enums§
- Watch
Event - Events produced by the file watcher.