Skip to main content

walk_source_files

Function walk_source_files 

Source
pub fn walk_source_files(dir: &Path) -> Vec<PathBuf>
Expand description

Recursively collect every source file under dir (sorted, stable). A non-directory or unreadable entry yields an empty result rather than an error — discovery is best-effort; the caller surfaces “no files found” once, with context.