dirinfo 0.1.1

Crate dirinfo provides easy to use API for collecting various information about a directory hierarchy
Documentation
  • Coverage
  • 80%
    20 out of 25 items documented1 out of 22 items with examples
  • Size
  • Source code size: 16.39 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.78 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • renl/dirinfo
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • renl

dirinfo

Crate dirinfo provides easy to use API for collecting various information about a directory hierarchy.

To use this crate, add dirinfo as a dependency to your project's Cargo.toml:

[dependencies]
dirinfo = { git = "https://github.com/renl/dirinfo" }

Example

The following code calculates the total size in bytes of all files found in the directory hierarchy with the root directory specified by the pull function.

use dirinfo::DirInfo;

println!("{}", DirInfo::new().pull(".").get_files_size());