MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / hasValue

Method hasValue

libminifi/src/properties/PropertiesFile.cpp:87–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87bool PropertiesFile::hasValue(const std::string& key) const {
88 return findKey(key) != lines_.end();
89}
90
91utils::optional<std::string> PropertiesFile::getValue(const std::string& key) const {
92 const auto it = findKey(key);

Callers 3

persistPropertiesMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected