[][src]Crate jwalk

Fast recursive directory walk.

  • Walk is performed in parallel using rayon
  • Results are streamed in sorted order
  • Custom sort/filter/skip

Example

Recursively iterate over the "foo" directory sorting by name:

use jwalk::{Sort, WalkDir};

for entry in WalkDir::new("foo").sort(Some(Sort::Name)) {
  println!("{}", entry?.path().display());
}

Structs

DirEntry

Representation of a file or directory.

ReadDirSpec

Specification use to read a directory.

WalkDir

Builder for walking a directory.

Enums

Sort

Directory sort options.