Crates.io | walkdown |
lib.rs | walkdown |
version | 0.1.2 |
created_at | 2025-05-30 09:35:19.96183+00 |
updated_at | 2025-05-31 10:50:12.783434+00 |
description | walking down the directory tree |
homepage | https://gitlab.com/hsn10/walkdown |
repository | |
max_upload_size | |
id | 1694862 |
size | 6,217 |
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.
fn walkdown(start: impl AsRef<Path>,
task: &mut impl FnMut(PathBuf) -> std::io::Result<()>
) -> std::io::Result<()>
This is free and unencumbered software released into the public domain.
This code can be used under terms of CC0 or the Unlicense.