Skip to main content

Module walk

Module walk 

Source
Expand description

Parallel filesystem walk built on jwalk.

Produces a flat, sorted list of Entry values describing a tree relative to its root. Symlinks are recorded as symlinks (their target is read but never followed), which keeps the walk safe and cheap.

Structs§

Entry
One entry in a walked tree.

Enums§

EntryKind
What a walked entry is.

Functions§

walk
Walk root in parallel, returning entries sorted by relative path (so every parent directory precedes its children).
walk_controlled
Walk a tree with a cooperative checkpoint before processing each entry.