#include <content-address.hh>
Public Member Functions | |
bool | empty () const |
size_t | size () const |
bool | operator== (const StoreReferences &) const =default |
Public Attributes | |
StorePathSet | others |
bool | self = false |
A set of references to other store objects.
References to other store objects are tracked with store paths, self references however are tracked with a boolean.
bool nix::StoreReferences::empty | ( | ) | const |
size_t nix::StoreReferences::size | ( | ) | const |
Returns the numbers of references, i.e. the size of others + 1 iff self is true.
StorePathSet nix::StoreReferences::others |
References to other store objects
bool nix::StoreReferences::self = false |
Reference to this store object