[][src]Function test_common::fs::ops::copy_files

pub fn copy_files<T>(
    files: Vec<T>,
    destination_folder_path: &str
) -> Result<(), Error> where
    T: AsRef<str>, 

Copy all files in an given list to a given destination folder. Original file names are kept untouched.

Parameters:

  • files: Vector with absolute file path names as &str.
  • destination_folder_path: Absolute path name to folder where to copy files into.

Returns:

Returns an io::Error if destination_folder does not exists or any to be copied file does not..