Skip to main content

walk_dir

Function walk_dir 

Source
pub fn walk_dir(root: &Path) -> Result<Vec<String>, NativeRunError>
Expand description

Every file under root, as paths relative to root with / separators. Directory entries are sorted by name (in UTF-16 order, as JS compares strings) before recursion, so the order matches the TS walkSync. .git and node_modules are skipped.