[−][src]Function lms::file_ops::copy_files
pub fn copy_files<'a, T, S>(files_to_copy: T, src: &str, dest: &str) where
T: ParallelIterator<Item = &'a S>,
S: FileOps + Sync + 'a,
Copies all given files from src
to dest
in parallel
Arguments
files_to_copy
: files to copysrc
: base directory of the files to copy from, such that for allfile
infiles_to_copy
,src + file.path()
is the absolute path of the source filedest
: base directory of the files to copy to, such that for allfile
infiles_to_copy
,dest + file.path()
is the absolute path of the destination file