MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / isRecent

Method isRecent

src/game/ServerListCache.cpp:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70bool ServerListCache::isRecent(const std::string& serverAddress) const {
71 SRV_STR_MAP::const_iterator i = serverCache.find(serverAddress);
72 return i != serverCache.end() && i->second.recent;
73}
74
75std::string ServerListCache::getCacheFilename() const {
76 // get a file named e.g. BZFS1910Server.bzs in the cache dir

Callers 1

addToListMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected