[][src]Function blarf::util::copy_dir

pub fn copy_dir(src: &Path, dest: &Path) -> Result<()>

Recursively copies contents of src directory to dest directory.

Example

use std::path::Path;

let from_dir = Path::new("source");
let to_dir = Path::new("my_site");
copy_dir(from_dir, to_dir)?;