copy_dir

Function copy_dir 

Source
pub fn copy_dir<S, D>(source: S, destination: D) -> Result<()>
where S: AsRef<Path>, D: AsRef<Path>,
Expand description

Recursively copies all files from one directory into another.

§Arguments

  • source - The source directory.
  • destination - The destination directory.

§Errors

Will return Err if any IO errors are encountered.