Function bootstrap::utils::helpers::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