about summary refs log tree commit diff
path: root/src/normalise.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-21T14·46+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-21T14·46+0000
commit49231fbe419d37717b0d951377fbfc9bf445dd55 (patch)
tree1802eacb403ad72f6b10805816a06c025116db1f /src/normalise.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/normalise.hh')
-rw-r--r--src/normalise.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/normalise.hh b/src/normalise.hh
index 85dbca5ef5e0..49f9e68eee63 100644
--- a/src/normalise.hh
+++ b/src/normalise.hh
@@ -16,7 +16,11 @@ void realiseSlice(const Slice & slice);
 Strings fstatePaths(const FSId & id, bool normalise);
 
 /* Get the list of paths referenced by the given fstate-expression. */
-StringSet fstateRefs(const FSId & id);
+Strings fstateRefs(const FSId & id);
+
+/* Return the list of the ids of all known fstate-expressions whose
+   output ids are completely contained in `ids'. */
+FSIds findGenerators(const FSIds & ids);
 
 /* Register a successor. */
 void registerSuccessor(const FSId & id1, const FSId & id2);