mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 20:16:03 +01:00
use path for from arg in nix::copyFile
This commit is contained in:
parent
ccf94545db
commit
62e1ea2f4b
3 changed files with 13 additions and 13 deletions
|
|
@ -190,7 +190,7 @@ void moveFile(const Path & src, const Path & dst);
|
|||
* with the guaranty that the destination will be “fresh”, with no stale inode
|
||||
* or file descriptor pointing to it).
|
||||
*/
|
||||
void copyFile(const std::filesystem::directory_entry & from, const std::filesystem::path & to, bool andDelete);
|
||||
void copyFile(const std::filesystem::path & from, const std::filesystem::path & to, bool andDelete);
|
||||
|
||||
/**
|
||||
* Automatic cleanup of resources.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue