Crates.io | folder |
lib.rs | folder |
version | 0.6.0 |
source | src |
created_at | 2023-02-09 07:07:27.971242 |
updated_at | 2024-02-20 14:26:29.547782 |
description | The package allows for scanning directories in parallel. |
homepage | https://github.com/stainless-steel/folder |
repository | https://github.com/stainless-steel/folder |
max_upload_size | |
id | 780559 |
size | 7,364 |
The package allows for scanning directories in parallel.
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();
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.