folder 0.1.0

The package allows for scanning directories in parallel.
Documentation

Folder Package Documentation Build

The package allows for scanning directories in parallel.

Example

use std::path::Path;

let results = folder::scan(
    Path::new("src"),
    |path| true,
    |path, _| Ok(path.exists()),
    (),
    1,
);
assert_eq!(
    format!("{results:?}"),
    r#"[("src/lib.rs", Ok(true))]"#,
);

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.