Function assembly_pack::common::fs::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