B:BD[
3.170280] → [
2.417:535]
∅:D[
2.535] → [
3.170398:170538]
B:BD[
3.170398] → [
3.170398:170538]
let source = source.strip_prefix(&repo_path)?;
let target = target.strip_prefix(&repo_path)?;
debug!("moving {:?} -> {:?}", source, target);
txn.move_file(&source.to_string_lossy(), &target.to_string_lossy())?
let target = std::fs::canonicalize(&target)?;
{
let source = source.strip_prefix(&repo_path)?;
let target = target.strip_prefix(&repo_path)?;
debug!("moving {:?} -> {:?}", source, target);
txn.move_file(&source.to_string_lossy(), &target.to_string_lossy())?;
}
std::fs::rename(&source, &target)?;