1
1
Fork 0
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:
Wouter den Breejen 2007-07-12 14:46:15 +00:00
parent 7bfed0c104
commit f3dabd6206
11 changed files with 246 additions and 232 deletions

View file

@ -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 */