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

Method exists

plugins/plugin_utils/plugin_HTTP.cpp:630–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628}
629
630bool TemplateMetaData::exists(const char* key) {
631 if (!key) {
632 return false;
633 }
634
635 std::string keyName = makeupper(key);
636
637 return data.find(keyName) != data.end();
638}
639
640std::vector<std::string> TemplateMetaData::get(const char* key) {
641 std::vector<std::string> vals;

Callers 2

handleAuthedRequestMethod · 0.45

Calls 3

makeupperFunction · 0.70
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected