3 releases

0.1.2 May 31, 2025
0.1.1 May 30, 2025
0.1.0 May 30, 2025

#1738 in Filesystem

Download history 5/week @ 2025-10-14 1/week @ 2025-10-21

67 downloads per month
Used in builddir-clean

Unlicense OR CC0-1.0

5KB

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

No runtime deps