Skip to main content

rename_checked

Function rename_checked 

Source
fn rename_checked(from: &Path, to: &Path) -> Result<()>
Expand description

Check-then-rename, for filesystems with no atomic no-replace rename. symlink_metadata rather than exists, so a dangling link at to still counts as taken.