# Folder [![Package][package-img]][package-url] [![Documentation][documentation-img]][documentation-url] [![Build][build-img]][build-url] The package allows for scanning directories in parallel. ## Example ```rust 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](LICENSE.md). [build-img]: https://github.com/stainless-steel/folder/workflows/build/badge.svg [build-url]: https://github.com/stainless-steel/folder/actions/workflows/build.yml [documentation-img]: https://docs.rs/folder/badge.svg [documentation-url]: https://docs.rs/folder [package-img]: https://img.shields.io/crates/v/folder.svg [package-url]: https://crates.io/crates/folder