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

Function has_usage_named

tests/test_parse_coverage.c:1167–1174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165}
1166
1167static int has_usage_named(const CBMFileResult *r, const char *name) {
1168 for (int i = 0; i < r->usages.count; i++) {
1169 if (r->usages.items[i].ref_name && strstr(r->usages.items[i].ref_name, name)) {
1170 return 1;
1171 }
1172 }
1173 return 0;
1174}
1175
1176static int has_call_named(const CBMFileResult *r, const char *name) {
1177 for (int i = 0; i < r->calls.count; i++) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected