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

Changed commit script: it recursively walkes through all dirs itself now, uses svn stat where needed, and doesnt use svn add *,svn revert anymore and is much faster

This commit is contained in:
Wouter den Breejen 2007-06-07 13:16:38 +00:00
parent 7166ad8eba
commit 79d5604780
11 changed files with 229 additions and 113 deletions

View file

@ -9,6 +9,7 @@
#include "hash.hh"
#include "serialise.hh"
#include "derivations.hh"
#include "db.hh"
namespace nix {
@ -194,10 +195,13 @@ public:
virtual PathSet getStateReferencesClosure(const Path & path) = 0;
/* TODO */
virtual void setUpdatedStateDerivation(const Path & newdrv, const Path & storepath) = 0;
virtual void addUpdatedStateDerivation(const Path & newdrv, const Path & storepath) = 0;
/* TODO */
virtual Path updateStateDerivation(const Path & storepath) = 0;
virtual void updateStateDerivation(const Transaction & txn, const Path & storepath) = 0;
/* TODO */
virtual void updateAllStateDerivations() = 0;
};