Skip to main content

Crate zccache_watcher

Crate zccache_watcher 

Source
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) → CacheSystem

Re-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 notify crate.
polling_watcher
recovery
Deferred overflow recovery.
settle
Settle/coalesce buffer for bursty filesystem events.

Structs§

WatcherConfig
Configuration for the file watcher.

Enums§

WatchEvent
Events produced by the file watcher.