scan_dir

Function scan_dir 

Source
pub fn scan_dir<V: FsVisitor>(
    visitor: &mut V,
    path: String,
    real: &Path,
    recurse: bool,
)
Expand description

Scan a directory and call FsVisitor::visit_file for all files

ยงParameters

  • path: a relative path with windows-style separators (i.e \)
  • read: the real path of the directory
  • recurse: Whether to recurse into subdirectories