aboutsummaryrefslogtreecommitdiff
path: root/src/store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-21 14:46:01 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-21 14:46:01 +0000
commit49231fbe419d37717b0d951377fbfc9bf445dd55 (patch)
tree1802eacb403ad72f6b10805816a06c025116db1f /src/store.hh
parent401452e57ae897d3e5829ed12bfcccac82548e91 (diff)
* Changes to the command line syntax of Nix.
* A function to find all Nix expressions whose output ids are completely contained in some set. Useful for uploading relevant Nix expressions to a shared cache.
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 78d5529e7..faac76009 100644
--- a/src/store.hh
+++ b/src/store.hh
@@ -20,6 +20,9 @@ void registerSubstitute(const FSId & srcId, const FSId & subId);
/* Register a path keyed on its id. */
void registerPath(const string & path, const FSId & id);
+/* Query the id of a path. */
+bool queryPathId(const string & path, FSId & id);
+
/* Return a path whose contents have the given hash. If target is
not empty, ensure that such a path is realised in target (if
necessary by copying from another location). If prefix is not