mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* Scan for references and compute the SHA-256 hash of the output in
one pass. This halves the amount of I/O.
This commit is contained in:
parent
c7152c8f97
commit
6e946c8e72
3 changed files with 51 additions and 90 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue