aboutsummaryrefslogtreecommitdiff
path: root/src/store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-10-16 16:29:57 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-10-16 16:29:57 +0000
commit0791282b2f42313c94dd9bc85b24428e585cd099 (patch)
tree38cb57ffea3c700aeed5836afd7927369782d315 /src/store.hh
parentab5e8767fafb2d62213e3f1558ead2882bc65c05 (diff)
* Substitutes and nix-pull now work again.
* Fixed a segfault caused by the buffering of stderr. * Fix now allows the specification of the full output path. This should be used with great care, since it by-passes the normal hash generation. * Incremented the version number to 0.4 (prerelease).
Diffstat (limited to 'src/store.hh')
-rw-r--r--src/store.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/store.hh b/src/store.hh
index 3d7575c3e..dab3d603f 100644
--- a/src/store.hh
+++ b/src/store.hh
@@ -42,6 +42,9 @@ Paths queryPredecessors(const Path & sucPath);
/* Register a substitute. */
void registerSubstitute(const Path & srcPath, const Path & subPath);
+/* Return the substitutes expression for the given path. */
+Paths querySubstitutes(const Path & srcPath);
+
/* Register the validity of a path. */
void registerValidPath(const Transaction & txn, const Path & path);