Skip to main content

scan_dir_specs

Function scan_dir_specs 

Source
pub fn scan_dir_specs(dir: &Path, formats: &Registry) -> Scan
Expand description

scan_dir_bounded, naming the files it looks inside by formats too: a file whose first bytes carry a spec’s magic is listed as that spec’s.