MCPcopy Create free account
hub / github.com/USBGuard/usbguard / checkKeyValidity

Method checkKeyValidity

src/Library/KeyValueParserPrivate.cpp:118–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 bool KeyValueParserPrivate::checkKeyValidity(const std::string& key)
119 {
120 for (auto a: this->_keys) {
121 if (!key.compare(a)) {
122 return false;
123 }
124 }
125
126 return true;
127 }
128
129 std::map<std::string, std::string> KeyValueParserPrivate::getMap()
130 {

Callers 1

parseLineMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected