about summary refs log tree commit diff
path: root/src/libstore/references.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-28T20·51+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-28T20·51+0000
commit6e946c8e72e0fd2baa58cab484a34debd2ae906d (patch)
treed088a2a99968dcf29d4dee95d06e229abe8faf3b /src/libstore/references.hh
parentc7152c8f97d01dda4eeb70869a0d28cc9a04df1f (diff)
* Scan for references and compute the SHA-256 hash of the output in
  one pass.  This halves the amount of I/O.

Diffstat (limited to 'src/libstore/references.hh')
-rw-r--r--src/libstore/references.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/references.hh b/src/libstore/references.hh
index 76a7ee166dbe..7d068eb51700 100644
--- a/src/libstore/references.hh
+++ b/src/libstore/references.hh
@@ -2,10 +2,12 @@
 #define __REFERENCES_H
 
 #include "types.hh"
+#include "hash.hh"
 
 namespace nix {
 
-PathSet scanForReferences(const Path & path, const PathSet & refs);
+PathSet scanForReferences(const Path & path, const PathSet & refs,
+    Hash & hash);
     
 }