Function copy_dir_files
Source pub fn copy_dir_files(src_dir: &str, dest_dir: &str) -> Result<(), Error>
Expand description
Copies all files from the source directory to the destination directory.
§Arguments
&str
- The source directory path.
&str
- The destination directory path.
§Returns
Result<(), std::io::Error>
- Ok if all files were copied successfully, Err with error details otherwise.