Expand description
File system watcher.
Uses the notify crate to watch for file changes and
emit events through a tokio channel for incremental index updates.
Structs§
- File
Watcher - A file watcher that monitors a directory tree for changes.
Enums§
- File
Event - A file system event suitable for incremental indexing.
Functions§
- dedup_
events - Deduplicate events by path, keeping only the latest event type per path.
- start_
async_ watcher - Create an async watcher that sends events through a tokio channel.