1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-27 12:41:00 +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

@ -55,6 +55,8 @@ public:
void queryStateReferences(const Path & storePath, PathSet & stateReferences, const int revision);
void queryAllReferences(const Path & path, PathSet & allReferences, const int revision);
void queryReferrers(const Path & path, PathSet & referrers, const int revision);
void queryStateReferrers(const Path & path, PathSet & stateReferrers, const int revision);
@ -98,9 +100,7 @@ public:
void storePathRequisites(const Path & storeOrstatePath, const bool includeOutputs, PathSet & paths, const bool & withComponents, const bool & withState, const int revision);
void scanAndUpdateAllReferences(const Path & statePath);
void scanAndUpdateAllReferencesRecusively(const Path & storeOrstatePath);
void scanAndUpdateAllReferences(const Path & statePath, const int revision, bool recursive);
void setStateRevisions(const Path & statePath, const RevisionNumbersSet & revisions, const int revision);
@ -108,6 +108,8 @@ public:
bool queryAvailableStateRevisions(const Path & statePath, RevisionNumbers & revisions);
int getNewRevisionNumber(const Path & statePath, bool update = true);
};