aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/archive.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/archive.hh')
-rw-r--r--src/libutil/archive.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libutil/archive.hh b/src/libutil/archive.hh
index 70e836055..5f85e1beb 100644
--- a/src/libutil/archive.hh
+++ b/src/libutil/archive.hh
@@ -45,16 +45,16 @@ namespace nix {
`+' denotes string concatenation. */
-struct DumpFilter
+struct PathFilter
{
- virtual ~DumpFilter() { }
+ virtual ~PathFilter() { }
virtual bool operator () (const Path & path) { return true; }
};
-extern DumpFilter defaultDumpFilter;
+extern PathFilter defaultPathFilter;
void dumpPath(const Path & path, Sink & sink,
- DumpFilter & filter = defaultDumpFilter);
+ PathFilter & filter = defaultPathFilter);
void restorePath(const Path & path, Source & source);