MCPcopy Create free account
hub / github.com/asmuth/clip / includes

Method includes

src/utils/stringutil.cc:383–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383bool StringUtil::includes(const std::string& str, const std::string& subject) {
384 return str.find(subject) != std::string::npos;
385}
386
387bool StringUtil::includesi(const std::string& str, const std::string& subject) {
388 auto str_i = str;

Callers

nothing calls this directly

Calls 1

findMethod · 0.45

Tested by

no test coverage detected