about summary refs log tree commit diff
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, 4 insertions, 0 deletions
diff --git a/src/store.hh b/src/store.hh
index abf874543164..7851b1e3d874 100644
--- a/src/store.hh
+++ b/src/store.hh
@@ -22,6 +22,10 @@ void copyPath(const Path & src, const Path & dst);
 void registerSuccessor(const Transaction & txn,
     const Path & srcPath, const Path & sucPath);
 
+/* Return the predecessors of the Nix expression stored at the given
+   path. */
+Paths queryPredecessors(const Path & sucPath);
+
 /* Register a substitute. */
 void registerSubstitute(const Path & srcPath, const Path & subPath);