Skip to main content

backup_dir

Function backup_dir 

Source
pub fn backup_dir(src: &Utf8Path, dest: &Utf8Path) -> Result<()>
Expand description

Recursively copy src (a directory tree) to dest. Symlinks within the tree are skipped (we’d be copying their targets again redundantly, and link semantics don’t carry meaning in a backup).