#size #events #directory #total #track #keep

fine-ill-do-it-myself

Keep track of a directory's total size using filesystem events

2 releases

0.1.1 May 30, 2023
0.1.0 May 30, 2023

#1206 in Filesystem

37 downloads per month

MIT/Apache

13KB
281 lines

fine-ill-do-it-myself

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

This crate provides the DirSizeTracker struct, which efficiently keeps track of a directory's total size using filesystem events.

See the list of known problems in the docs of notify.

Dependencies

~2–12MB
~95K SLoC