Skip to main content

scan_directory

Function scan_directory 

Source
pub fn scan_directory(root: &Path) -> Result<Vec<ScannedFile>, ScanError>
Expand description

Every regular file under root, in rel order.

Sorted, because a directory listing is in whatever order the filesystem keeps it and the result reaches a manifest, which must not differ between two builds of the same tree.