bootstrap::utils::helpers

Function move_file

Source
pub fn move_file<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> Result<()>
Expand description

Rename a file if from and to are in the same filesystem or copy and remove the file otherwise