[−][src]Function lms::file_ops::copy_files_sequential
pub fn copy_files_sequential<'a, T, S>(files_to_copy: T, src: &str, dest: &str) where
T: IntoIterator<Item = &'a S>,
S: FileOps + Sync + 'a,
Copies all given files from src
to dest
in sequentially
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