gity-watch
Cross-platform file system watcher for gity.
This crate provides cross-platform file system watching built on notify. It detects file changes in Git repositories and reports them to the daemon.
Platform Support
| Platform | Backend |
|---|---|
| Linux | inotify |
| macOS | FSEvents |
| Windows | ReadDirectoryChangesW |
Features
- Recursive directory watching
- Debouncing and batching of events
- Async event delivery via tokio channels
- Automatic handling of .gitignore patterns
Usage
This crate is primarily intended for internal use by gity-daemon. See the gity documentation for general usage.
License
MIT