1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 06:01:48 +02:00

Don't overload dumpPath()

This commit is contained in:
Eelco Dolstra 2016-03-22 14:21:45 +01:00
parent 712b616a84
commit bb1034316d
7 changed files with 13 additions and 11 deletions

View file

@ -223,7 +223,7 @@ public:
const PathSet & references, bool repair = false) = 0;
/* Write a NAR dump of a store path. */
virtual void dumpPath(const Path & path, Sink & sink) = 0;
virtual void narFromPath(const Path & path, Sink & sink) = 0;
/* Export a store path, that is, create a NAR dump of the store
path and append its references and its deriver. Optionally, a
@ -365,7 +365,7 @@ public:
class LocalFSStore : public Store
{
public:
void dumpPath(const Path & path, Sink & sink) override;
void narFromPath(const Path & path, Sink & sink) override;
ref<FSAccessor> getFSAccessor() override;
};