walkdown 0.1.2

walking down the directory tree
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 5.75 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.02 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • hsn10

walkdown - recursive directory walker

Version Unlicense MSRV 1.56 Safe Rust Dependency status Documentation Downloads

Walks down the directory structure and executes task in each directory.

For convience current directory is changed before executing task. Full directory path is passed to the task.

Function signature

fn walkdown(start: impl AsRef<Path>,
            task: &mut impl FnMut(PathBuf) -> std::io::Result<()>
   ) -> std::io::Result<()>

License

This is free and unencumbered software released into the public domain.

This code can be used under terms of CC0 or the Unlicense.

Unlicense logo