mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 20:20:58 +01:00
before making computeFSClosure recursively transactional ..... (adding Transaction txn)
This commit is contained in:
parent
7bfed0c104
commit
f3dabd6206
11 changed files with 246 additions and 232 deletions
|
|
@ -2,12 +2,23 @@
|
|||
#define __STORESTATE_H
|
||||
|
||||
#include "derivations.hh"
|
||||
#include "types.hh"
|
||||
#include "db.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
/* Create a state directory. */
|
||||
void createStateDirs(const DerivationStateOutputDirs & stateOutputDirs, const DerivationStateOutputs & stateOutputs);
|
||||
|
||||
/* TODO */
|
||||
void commitStatePathTxn(const Transaction & txn, const Path & statePath);
|
||||
|
||||
/* TODO */
|
||||
void updateRevisionsRecursivelyTxn(const Transaction & txn, const Path & statePath);
|
||||
|
||||
/* TODO */
|
||||
int readRevisionNumber(Path statePath);
|
||||
|
||||
}
|
||||
|
||||
#endif /* !__STORESTATE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue