Skip to main content

safe_copy

Function safe_copy 

Source
pub fn safe_copy(src: &Path, dst: &Path) -> Result<PathBuf>
Expand description

Validate both paths and copy file in one atomic step.