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

Function qn_ends_with

tests/test_extraction.c:8179–8183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;
8181 size_t t = strlen(tail);
8182 return n >= t && strcmp(d->qualified_name + n - t, tail) == 0;
8183}
8184
8185/* A field and a same-named method of one class body would share one qualified
8186 * name (one node per QN): the field is fenced `<Owner>.<name>#field` and the

Callers 1

test_extraction.cFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected