Esempio n. 1
0
void DirInstaller::remFile(const std::string &file, const Hash &hash)
{
  assert(!getInfo()->hasStarted());
  assert(hash.isSet());
  assert(file != "");
  pre[file] = hash;
}
Esempio n. 2
0
void DirInstaller::addHint(const Hash &hash)
{
  assert(!getInfo()->hasStarted());
  assert(hash.isSet());
  ptr->hints.insert(hash);
}
Esempio n. 3
0
void DirInstaller::remDir(const Hash &hash, const std::string &path)
{
  assert(!getInfo()->hasStarted());
  assert(hash.isSet());
  preHash.insert(HDValue(hash,addSlash(path)));
}