Crate atomic_file_install

Source
Expand description

Atomically install a regular file or a symlink to destination, can be either noclobber (fail if destination already exists) or replacing it atomically if it exists.

Functionsยง

atomic_install
Atomically install a file, this atomically replace dst if it exists.
atomic_install_noclobber
Install a file, this fails if the dst already exists.
atomic_symlink_file
Atomically create a symlink at link to dest, this atomically replace link if it already exists.
atomic_symlink_file_noclobber
Create a symlink at link to dest, this fails if the link already exists.