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