MCPcopy Create free account
hub / github.com/apple/foundationdb / remove

Method remove

flow/network.cpp:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void DNSCache::remove(const std::string& host, const std::string& service) {
177 auto it = hostnameToAddresses.find(host + ":" + service);
178 if (it != hostnameToAddresses.end()) {
179 hostnameToAddresses.erase(it);
180 }
181}
182
183void DNSCache::clear() {
184 hostnameToAddresses.clear();

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected