walkdown

Crates.iowalkdown
lib.rswalkdown
version0.1.2
created_at2025-05-30 09:35:19.96183+00
updated_at2025-05-31 10:50:12.783434+00
descriptionwalking down the directory tree
homepagehttps://gitlab.com/hsn10/walkdown
repository
max_upload_size
id1694862
size6,217
Radim Kolar (hsn10)

documentation

README

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

Commit count: 0

cargo fmt