aboutsummaryrefslogtreecommitdiff
path: root/src/store.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/store.hh')
-rw-r--r--src/store.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/store.hh b/src/store.hh
index d1f1be668..7f6b24569 100644
--- a/src/store.hh
+++ b/src/store.hh
@@ -4,6 +4,7 @@
#include <string>
#include "hash.hh"
+#include "db.hh"
using namespace std;
@@ -20,7 +21,8 @@ void copyPath(string src, string dst);
void registerSubstitute(const FSId & srcId, const FSId & subId);
/* Register a path keyed on its id. */
-void registerPath(const string & path, const FSId & id);
+void registerPath(const Transaction & txn,
+ const string & path, const FSId & id);
/* Query the id of a path. */
bool queryPathId(const string & path, FSId & id);