文件名称:inotify-rs:Rust编程语言的惯用语intify包装器
文件大小:25KB
文件格式:ZIP
更新时间:2024-05-19 17:21:33
linux rust inotify Rust
信息化 包装器。 extern crate inotify; use std :: env; use inotify :: { EventMask, WatchMask, Inotify, }; fn main () { let mut inotify = Inotify :: init () . expect ( "Failed to initialize inotify" ); let current_dir = env :: current_dir () . expect ( "Failed to determine current directory" ); inotify . add_watch ( current_dir, Watc
【文件预览】:
inotify-rs-master
----Cargo.toml(1KB)
----.github()
--------workflows()
----inotify-rs.sublime-project(89B)
----src()
--------fd_guard.rs(2KB)
--------util.rs(310B)
--------inotify.rs(16KB)
--------events.rs(14KB)
--------watches.rs(11KB)
--------lib.rs(3KB)
--------stream.rs(3KB)
----examples()
--------watch.rs(2KB)
--------stream.rs(836B)
----CONTRIBUTING.md(2KB)
----LICENSE(741B)
----README.md(4KB)
----tests()
--------main.rs(7KB)
----.gitignore(48B)
----CHANGELOG.md(2KB)