fsevent-stream
Stream-based FSEvents API bindings.
Features
- Support directory-granular and file-granular events.
- Retrieve related file inode with
kFSEventStreamCreateFlagUseExtendedData.
Example
use Path;
use Duration;
use ;
use create_event_stream;
use StreamExt;
let = create_event_stream
.expect;
while let Some = stream.next.await
Runtime Support
Both tokio and async-std are supported
via feature flags.
tokio support is enabled by default. To enable async-std support, disable default features and enable async-std
feature.
Acknowledgement
Some code in this project is adapted from the following projects:
License
This project is licensed under MIT License.