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

Function str_contains

src/discover/language.c:936–938  ·  view source on GitHub ↗

Simple substring search helper */

Source from the content-addressed store, hash-verified

934
935/* Simple substring search helper */
936static bool str_contains(const char *haystack, const char *needle) {
937 return strstr(haystack, needle) != NULL;
938}
939
940static bool has_objc_markers(const char *buf) {
941 return str_contains(buf, "@interface") || str_contains(buf, "@implementation") ||

Callers 3

has_objc_markersFunction · 0.70
has_magma_end_markersFunction · 0.70
cbm_disambiguate_mFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected