atomic_file_install

Function atomic_symlink_file_noclobber

Source
pub fn atomic_symlink_file_noclobber(dest: &Path, link: &Path) -> Result<()>
Expand description

Create a symlink at link to dest, this fails if the link already exists.

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