Skip to main content

scan_dir

Function scan_dir 

Source
pub fn scan_dir(dir: &Path) -> Vec<Entry>
Expand description

List one directory level, classified. Never recurses.

Errors are swallowed deliberately: an unreadable or unmounted directory yields an empty listing rather than failing the home screen, and the caller reports availability separately.