# walkdown - recursive directory walker
[](https://crates.io/crates/walkdown)
[](https://unlicense.org)
[](https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html)
[](https://doc.rust-lang.org/nomicon/meet-safe-and-unsafe.html)
[](https://deps.rs/repo/gitlab/hsn10/walkdown)
[](https://docs.rs/walkdown)
[](https://crates.io/crates/walkdown/versions)
[](https://github.com/XAMPPRocky/tokei)
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
```rust
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](https://creativecommons.org/publicdomain/zero/1.0/) or
the [Unlicense](https://unlicense.org).
