Skip to main content

scan_files

Function scan_files 

Source
pub fn scan_files(dir: &Path) -> Result<Vec<FileInfo>>
Expand description

Scans a directory for files and returns them sorted by creation time (newest first).

ยงErrors

Returns an error if the directory cannot be read.