Skip to main content

walk

Function walk 

Source
pub fn walk(root: &str, ext: Option<&str>) -> Vec<Entry>
Expand description

Recursively crawl root (a ~-expandable path). ext, when given, keeps only files with that extension (no leading dot). Capped internally so a crawl of a huge tree can’t run away.