mirror of
https://github.com/NixOS/nix.git
synced 2025-11-25 03:39:36 +01:00
Merge branch 'path-info' into ca-drv-exotic
This commit is contained in:
commit
7c82213813
97 changed files with 1868 additions and 1001 deletions
|
|
@ -4,7 +4,6 @@
|
|||
#include "hash.hh"
|
||||
#include "path.hh"
|
||||
#include "comparator.hh"
|
||||
#include "reference-set.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
@ -102,7 +101,15 @@ Hash getContentAddressHash(const ContentAddress & ca);
|
|||
* References set
|
||||
*/
|
||||
|
||||
typedef References<StorePath> StoreReferences;
|
||||
struct StoreReferences {
|
||||
StorePathSet others;
|
||||
bool self = false;
|
||||
|
||||
bool empty() const;
|
||||
size_t size() const;
|
||||
|
||||
GENERATE_CMP(StoreReferences, me->self, me->others);
|
||||
};
|
||||
|
||||
/*
|
||||
* Full content address
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue