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

Before moving scanForStateReferences(...)

This commit is contained in:
Wouter den Breejen 2007-06-19 13:04:05 +00:00
parent bdecf3bdbc
commit b1cc9e9a45
11 changed files with 142 additions and 92 deletions

View file

@ -35,6 +35,8 @@ public:
void queryReferences(const Path & path, PathSet & references);
void queryStateReferences(const Path & storePath, PathSet & stateReferences);
void queryReferrers(const Path & path, PathSet & referrers);
Path addToStore(const Path & srcPath, bool fixed = false,
@ -68,7 +70,7 @@ public:
vector<int> getStatePathsInterval(const PathSet & statePaths);
PathSet getStateReferencesClosure(const Path & path);
void registerMaybeStatePath(const Path & drvPath);
bool isStateComponent(const Path & path);