pub fn scan_file(path: &Path, max_file_size: u64) -> FileRecord
Detect only. Oversized files are never read.