1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

moveFile -> renameFile

`move` tends to have this `mv` connotation of “I will copy it for you if
needs be”
This commit is contained in:
Théophane Hufschmitt 2022-04-13 14:10:36 +02:00
parent a4f0fd633c
commit d71d9e9fbf
9 changed files with 13 additions and 13 deletions

View file

@ -57,7 +57,7 @@ protected:
AutoDelete del(tmp, false);
StreamToSourceAdapter source(istream);
writeFile(tmp, source);
moveFile(tmp, path2);
renameFile(tmp, path2);
del.cancel();
}