MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_str_contains

Function cbm_str_contains

src/foundation/str_util.c:148–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148bool cbm_str_contains(const char *s, const char *sub) {
149 if (!s || !sub) {
150 return false;
151 }
152 if (sub[0] == '\0') {
153 return true;
154 }
155 return strstr(s, sub) != NULL;
156}
157
158char *cbm_str_tolower(CBMArena *a, const char *s) {
159 if (!s) {

Callers 1

test_str_util.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected