yolk::util

Function remove_symlink

Source
pub fn remove_symlink(path: impl AsRef<Path>) -> Result<()>
Expand description

Delete a symlink at path, but only if it actually is a symlink.