collectfiles
Collects accurate files while running in parallel through directories. (Simple, Fast, Powerful)
| Docs | Latest Note |
toml
[dependencies]
collectfiles = "1.1.0"
```rust use collectfiles::*;
let vec = CollectFiles("/Users/hwakyeom/programs/") .withdepth(1) .withtargetregex(".md$") .withhook(|path| path.withextension("mutated")) .withunwraporelse(|e| { if e.kind() == io::ErrorKind::NotFound { PathBuf::from("/Users/other/") } else { panic!("{:?}", e) } }) .collect();
println!("{:#?}", vec); ```