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

Function registry_scope_canonical

tests/test_registry.c:1868–1878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1866}
1867
1868static const char *registry_scope_canonical(cbm_registry_t *r, const char *name, const char *qn) {
1869 const char **candidates = NULL;
1870 int count = 0;
1871 cbm_registry_find_by_name(r, name, &candidates, &count);
1872 for (int i = 0; i < count; i++) {
1873 if (strcmp(candidates[i], qn) == 0) {
1874 return candidates[i];
1875 }
1876 }
1877 return NULL;
1878}
1879
1880TEST(registry_python_scope_complete_candidate_boundaries) {
1881 const size_t lengths[] = {511, 512, 513, 1536};

Callers 1

test_registry.cFile · 0.85

Calls 1

Tested by

no test coverage detected