1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 20:20:58 +01:00

broken, in the middle of edditting user / drv mod

This commit is contained in:
Wouter den Breejen 2007-06-12 19:08:05 +00:00
parent fe04276aef
commit b909d57f5d
9 changed files with 174 additions and 170 deletions

View file

@ -80,14 +80,10 @@ public:
vector<int> getStatePathsInterval(const PathSet & statePaths);
Derivation getStateDerivation(const Path & path);
PathSet getStateReferencesClosure(const Path & path);
void addUpdatedStateDerivation(const Path & newdrv, const Path & storepath);
void updateStateDerivation(const Transaction & txn, const Path & storepath);
void updateAllStateDerivations();
};
@ -155,6 +151,10 @@ void setDeriver(const Transaction & txn, const Path & path,
deriver has been set. */
Path queryDeriver(const Transaction & txn, const Path & path);
/* Query the derivers of a state-store path. Gives an error (TODO?) if no
deriver has been set. */
PathSet queryDerivers(const Transaction & txn, const Path & storePath, const string & identifier, const string & user);
/* Delete a value from the nixStore directory. */
void deleteFromStore(const Path & path, unsigned long long & bytesFreed);