mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
inline the usage of nix::renameFile
use `std::filesystem::rename` everywhere and remove `nix::renameFile`
This commit is contained in:
parent
87ab3c0ea4
commit
4537663740
8 changed files with 11 additions and 18 deletions
|
@ -177,8 +177,6 @@ void createSymlink(const Path & target, const Path & link);
|
|||
*/
|
||||
void replaceSymlink(const Path & target, const Path & link);
|
||||
|
||||
void renameFile(const Path & src, const Path & dst);
|
||||
|
||||
/**
|
||||
* Similar to 'renameFile', but fallback to a copy+remove if `src` and `dst`
|
||||
* are on a different filesystem.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue