[go: up one dir, main page]

copy_atomic_sync

Function copy_atomic_sync 

Source
pub fn copy_atomic_sync(
    from: impl AsRef<Path>,
    to: impl AsRef<Path>,
) -> Result<()>
Expand description

Copy from to to atomically using a temporary file and atomic rename.