Skip to main content

copy_tree_keeping

Function copy_tree_keeping 

Source
pub fn copy_tree_keeping(from: &Path, to: &Path, keep: &dyn Fn(&str) -> bool)
Expand description

Copy the tree at from into to, as copy_tree does, with only the files whose name keep accepts.