1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-27 04:30:59 +01:00

before removing isStateComponentTxn

This commit is contained in:
Wouter den Breejen 2007-07-09 14:30:57 +00:00
parent 9257f16c85
commit b7654ab716
10 changed files with 151 additions and 111 deletions

View file

@ -63,10 +63,6 @@ private:
/* TODO */
bool lookupHighestRevivison(const Strings & keys, const Path & statePath, string & key, int lowerthan = -1);
/* TODO */
int getNewRevisionNumber(const Transaction & txn, TableId table, const Path & statePath);
public:
Database();
~Database();
@ -126,6 +122,10 @@ public:
/* Returns all available revision numbers of the given state path */
bool queryAvailableStateRevisions(const Transaction & txn, TableId table,
const Path & statePath, RevisionNumbers & revisions);
/* TODO */
int getNewRevisionNumber(const Transaction & txn, TableId table, const Path & statePath, bool update = true);
};