[−][src]Function lms::file_ops::delete_files
pub fn delete_files<'a, T, S>(files_to_delete: T, location: &str) where
T: ParallelIterator<Item = &'a S>,
S: FileOps + Sync + 'a,
Deletes all given files in parallel
There is no guarantee that this function will delete the files in the given order
Arguments
files_to_delete
: files to delete
location
: base directory of the files to delete, such that for allfile
infiles_to_delete
,location + file.path()
is the absolute path of the file