Skip to main content

walk

Function walk 

Source
pub fn walk(dir: &Path) -> Tree
Expand description

Reads dir and everything under it. Hidden files and junk are left out; packages count as files. Symbolic links to folders are not followed, so a link cycle can’t make the walk endless. Unreadable subfolders come back empty.