diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-12-16 22:31:25 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-12-16 22:31:25 +0000 |
commit | 273b288a7e862ac1918064537ff130cc751fa9fd (patch) | |
tree | 06494346db77ff96da1f68dbb271e9c3a2e64e12 /src/libstore/store-api.hh | |
parent | 8d3dfa2c1782e955d2b7796d19dc0d0381596b98 (diff) |
* importPath() -> importPaths(). Because of buffering of the input
stream it's now necessary for the daemon to process the entire
sequence of exported paths, rather than letting the client do it.
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index e3a2c0daa..d4997c886 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -169,9 +169,9 @@ public: virtual void exportPath(const Path & path, bool sign, Sink & sink) = 0; - /* Import a NAR dump created by exportPath() into the Nix - store. */ - virtual Path importPath(bool requireSignature, Source & source) = 0; + /* Import a sequence of NAR dumps created by exportPaths() into + the Nix store. */ + virtual Paths importPaths(bool requireSignature, Source & source) = 0; /* Ensure that the output paths of the derivation are valid. If they are already valid, this is a no-op. Otherwise, validity |