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

before removing referrer code

This commit is contained in:
Wouter den Breejen 2007-08-03 10:30:39 +00:00
parent 4fb9070fbd
commit 7d91f62b71
3 changed files with 7 additions and 133 deletions

View file

@ -121,10 +121,6 @@ public:
bool queryStateReferrers(const Transaction & txn, TableId referrers_table, TableId revisions_table,
const Path & statePath, Strings & referrers, int revision = -1, int timestamp = -1);
/* TODO */
void updateReferredPath(const Transaction & txn, TableId revisions_table, TableId referrers_X_s_table,
const Path & referred_state_or_store_Path, const Path & statePath, const int revision);
/* Set the revision number of the statePath and the revision numbers of all state paths in the references closure */
void setStateRevisions(const Transaction & txn, TableId revisions_table, TableId snapshots_table,
const RevisionClosure & revisions);