mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 20:46:01 +01:00
Add O(1)-memory copyPath() function
This commit is contained in:
parent
3913afdd69
commit
f1c0b2c0e1
2 changed files with 11 additions and 0 deletions
|
|
@ -77,6 +77,8 @@ void restorePath(const Path & path, Source & source);
|
|||
/* Read a NAR from 'source' and write it to 'sink'. */
|
||||
void copyNAR(Source & source, Sink & sink);
|
||||
|
||||
void copyPath(const Path & from, const Path & to);
|
||||
|
||||
|
||||
extern const std::string narVersionMagic1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue