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