9 releases (5 breaking)
0.6.0 | Feb 20, 2024 |
---|---|
0.5.1 | Oct 20, 2023 |
0.5.0 | Mar 7, 2023 |
0.4.0 | Mar 7, 2023 |
0.1.1 | Feb 9, 2023 |
#1261 in Filesystem
232 downloads per month
Used in founder
5KB
Folder
The package allows for scanning directories in parallel.
Example
use std::path::Path;
let filter = |_: &Path| true;
let map = |path: &Path, _| Ok(path.exists());
let (paths, results): (Vec<_>, Vec<_>) = folder::scan("src", filter, map, (), None).unzip();
Contribution
Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.
Dependencies
~0.1–6.5MB
~36K SLoC