mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 12:41:00 +01:00
In the middle of adding state references to derivations and the db...
This commit is contained in:
parent
5e59387d40
commit
bdecf3bdbc
16 changed files with 190 additions and 191 deletions
|
|
@ -54,7 +54,7 @@ public:
|
|||
PathFilter & filter = defaultPathFilter);
|
||||
|
||||
Path addTextToStore(const string & suffix, const string & s,
|
||||
const PathSet & references);
|
||||
const PathSet & references, const PathSet & stateReferences);
|
||||
|
||||
void exportPath(const Path & path, bool sign,
|
||||
Sink & sink);
|
||||
|
|
@ -82,9 +82,9 @@ public:
|
|||
|
||||
PathSet getStateReferencesClosure(const Path & path);
|
||||
|
||||
void addUpdatedStateDerivation(const Path & newdrv, const Path & storepath);
|
||||
|
||||
void updateAllStateDerivations();
|
||||
bool isStateComponent(const Path & path);
|
||||
|
||||
bool isStateDrv(const Path & drvpath);
|
||||
|
||||
};
|
||||
|
||||
|
|
@ -109,7 +109,8 @@ void clearSubstitutes();
|
|||
of the file system contents of the path. The hash must be a
|
||||
SHA-256 hash. */
|
||||
void registerValidPath(const Transaction & txn,
|
||||
const Path & path, const Hash & hash, const PathSet & references,
|
||||
const Path & path, const Hash & hash,
|
||||
const PathSet & references, const PathSet & stateReferences,
|
||||
const Path & deriver);
|
||||
|
||||
struct ValidPathInfo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue