atomic_file_install

Function atomic_install

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

Atomically install a file, this atomically replace dst if it exists.

This is a blocking function, must be called in block_in_place mode.