dir-meta 0.7.0

Read a directory and get back all files and errors from the read operation
Documentation
1
2
3
4
5
6
7
8
9
10
fn main() {
    #[cfg(all(feature = "sync", feature = "size"))]
    {
        let dir = String::from(env!("CARGO_MANIFEST_DIR")) + "/src";

        let outcome = dir_meta::DirMetadata::new(&dir).sync_dir_metadata();
        dbg!(&outcome);
        dbg!(&outcome.unwrap().size_formatted());
    }
}