Function ajour_core::utility::rename [−][src]
pub fn rename<F, T>(from: F, to: T) -> Result<()> where
F: AsRef<Path>,
T: AsRef<Path>,
Rename a file or directory to a new name, retrying if the operation fails because of permissions
Will retry for ~30 seconds with longer and longer delays between each, to allow for virus scan and other automated operations to complete.