Function tauri_bundler::bundle::common::copy_dir [−][src]
pub fn copy_dir(from: &Path, to: &Path) -> Result<()>
Recursively copies a directory file from one path to another, creating any parent directories of the destination path as necessary. Fails if the source path is not a directory or doesn’t exist, or if the destination path already exists.