MCPcopy Create free account
hub / github.com/alibaba/zvec / iequals

Function iequals

src/binding/python/model/common/python_config.cc:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45inline bool iequals(const std::string &a, const std::string &b) {
46 return to_lower(a) == to_lower(b);
47}
48
49GlobalConfig::LogLevel str_to_loglevel(const std::string &s) {
50 if (iequals(s, "debug")) return GlobalConfig::LogLevel::kDebug;

Callers 2

str_to_loglevelFunction · 0.85
InitializeMethod · 0.85

Calls 1

to_lowerFunction · 0.85

Tested by

no test coverage detected