fsevent-rust
fsevent-rust copied to clipboard
FSEvent bindings for rust.
Hardlink creation is not noticed. Don't know if this is a bug in fsevent/fsevent-sys, or if it's just how the Apple File System Events API works, or if there is...
Two of the tests appear to be susceptible to race conditions. With the current head of master – the tree at 8b1698e – on macOS Catalina with Rust 1.41.0, after...
This bug is related to https://github.com/notify-rs/notify/issues/240 I verified using a simple perpetual file updater that we are only receiving a single event once we release the file handle.
Cleanup the code, follow up #43
[`FSEventStreamScheduleWithRunLoop`](https://developer.apple.com/documentation/coreservices/1447824-fseventstreamschedulewithrunloop) was deprecated, and [`FSEventStreamSetDispatchQueue`](https://developer.apple.com/documentation/coreservices/1444164-fseventstreamsetdispatchqueue) is the suggested equivalent. `dispatch2` was introduced for the `dispatch_queue_t` type.