aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index 9f1c8280a..00356bf9d 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -150,7 +150,7 @@ public:
Paths importPaths(bool requireSignature, Source & source);
- void buildPaths(const PathSet & paths);
+ void buildPaths(const PathSet & paths, bool repair = false);
void ensurePath(const Path & path);
@@ -202,6 +202,10 @@ public:
a substituter (if available). */
void repairPath(const Path & path);
+ /* Check whether the given valid path exists and has the right
+ contents. */
+ bool pathContentsGood(const Path & path);
+
private:
Path schemaPath;