diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-10-01 17:05:55 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-10-27 18:18:58 +0100 |
commit | f1c0b2c0e16154e738f342f2defa42c4d9348c4c (patch) | |
tree | c524e4bb248ee7c7d7395846895db15f81305d7e /src/libutil/archive.hh | |
parent | 3913afdd69a5bd065d6096dd569397a836ac6857 (diff) |
Add O(1)-memory copyPath() function
Diffstat (limited to 'src/libutil/archive.hh')
-rw-r--r-- | src/libutil/archive.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/archive.hh b/src/libutil/archive.hh index 25be426c1..768fe2536 100644 --- a/src/libutil/archive.hh +++ b/src/libutil/archive.hh @@ -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; |