Skip to main content

walk_directory

Function walk_directory 

Source
pub fn walk_directory(
    root: &Path,
) -> Result<(Vec<WalkedEntry>, usize), WorkflowError>
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.