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

Function c1_def_qn

tests/test_extraction.c:8169–8177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8167}
8168
8169static const CBMDefinition *c1_def_qn(CBMFileResult *r, const char *qn) {
8170 for (int i = 0; i < r->defs.count; i++) {
8171 const CBMDefinition *d = &r->defs.items[i];
8172 if (d->qualified_name && strcmp(d->qualified_name, qn) == 0) {
8173 return d;
8174 }
8175 }
8176 return NULL;
8177}
8178
8179static bool qn_ends_with(const CBMDefinition *d, const char *tail) {
8180 size_t n = d && d->qualified_name ? strlen(d->qualified_name) : 0;

Callers 2

test_extraction.cFile · 0.85
c1_enumerator_atFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected