[−][src]Function hina::fs::replace
pub fn replace(
source: impl AsRef<Path>,
destination: impl AsRef<Path>,
backup: impl AsRef<Path>
) -> Result<(), Error>
replaces source
file with destination
file, using backup
as an intermediatary backup.
if source
, destination
or backup
are on different volumes, this method will likely fail.