Skip to content

xpepermint/async-fsw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cross-platform asynchronous filesystem notification library for Rust.

This library allows for asynchronous observation of filesystem changes. This project is built on top of async-std an notify projects.

Example

use async_fsw::{Watcher, WatchMode};

let mut w = Watcher::new();
w.set_path("/tmp", WatchMode::Recursive);
w.observe().await;

while let Some(event) = w.incomming().recv().await {
    println!("Event: {:?}", event);
}

About

Cross-platform asynchronous filesystem notification library for Rust.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages