Skip to main content

classify_directory

Function classify_directory 

Source
pub fn classify_directory(path: &Path) -> EntryKind
Expand description

Classify a directory without walking it: one listing bounded by MAX_ENTRIES_PER_DIR (not a probe of the first few entries, whose answer would depend on read order). Includes rows on network mounts: one getdents walk, stat’ing only symlinks. home_open_selected calls it on the key thread; others on workers.