diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-03-28T20·51+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-03-28T20·51+0000 |
commit | 6e946c8e72e0fd2baa58cab484a34debd2ae906d (patch) | |
tree | d088a2a99968dcf29d4dee95d06e229abe8faf3b /src/libstore/references.hh | |
parent | c7152c8f97d01dda4eeb70869a0d28cc9a04df1f (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.hh | 4 |
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); } |