mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 12:41:00 +01:00
Bugfix: Before adjusting registerValidPath to also be able to take state paths
This commit is contained in:
parent
22473597ec
commit
04dd3fdf34
10 changed files with 137 additions and 78 deletions
|
|
@ -100,6 +100,10 @@ public:
|
|||
|
||||
void storePathStateRequisitesOnly(const Path & storePath, const bool includeOutputs, PathSet & statePaths);
|
||||
|
||||
void scanForAllReferences(const Path & statePath);
|
||||
|
||||
void scanForAllReferencesRecusively(const Path & storePath);
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -209,8 +213,6 @@ bool isStateComponentTxn(const Transaction & txn, const Path & path);
|
|||
bool isStateDrvPathTxn(const Transaction & txn, const Path & drvPath);
|
||||
|
||||
bool isStateDrvTxn(const Transaction & txn, const Derivation & drv);
|
||||
|
||||
void convertStatePathsToDerivations(const Transaction & txn, const Path & storePath);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue