Skip to main content

walk_directory

Function walk_directory 

Source
pub fn walk_directory(root: &Path) -> WorkflowResult<(Vec<WalkedEntry>, usize)>
Expand description

Recursively walks a directory in sorted order, listing directories before their contents. Entries that cannot be archived (symlinks, special files, non-UTF-8 or backslash-containing names) are skipped; the count of skipped entries is returned alongside.