read_dir_tracking

Function read_dir_tracking 

Source
fn read_dir_tracking(path: &Path, incomplete: &mut bool) -> Option<ReadDir>
Expand description

read_dir that distinguishes “absent” (fine — nothing to scan) from “present but unreadable” (sets incomplete so the marker defers). Returns None in both error cases; the iterator otherwise.