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

Function str_contains

src/discover/language.c:1291–1293  ·  view source on GitHub ↗

Simple substring search helper */

Source from the content-addressed store, hash-verified

1289
1290/* Simple substring search helper */
1291static bool str_contains(const char *haystack, const char *needle) {
1292 return strstr(haystack, needle) != NULL;
1293}
1294
1295static bool has_objc_markers(const char *buf) {
1296 return str_contains(buf, "@interface") || str_contains(buf, "@implementation") ||

Callers 4

has_objc_markersFunction · 0.70
has_magma_end_markersFunction · 0.70
lang_m_textFunction · 0.70
has_vb6_markersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected