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

Function registry_scope_match

tests/test_registry.c:1707–1711  ·  view source on GitHub ↗

Python package scope is an explicit resolver input, not a property inferred * from a QN shared by other languages. Keep these fixtures separate from the * raw public-API tests above. */

Source from the content-addressed store, hash-verified

1705 * from a QN shared by other languages. Keep these fixtures separate from the
1706 * raw public-API tests above. */
1707static bool registry_scope_match(cbm_resolution_t result, const char *qn, const char *strategy) {
1708 return qn && strategy && result.qualified_name && result.strategy &&
1709 strcmp(result.qualified_name, qn) == 0 && strcmp(result.strategy, strategy) == 0 &&
1710 result.candidate_count == 1;
1711}
1712
1713TEST(python_symbol_scope_len_preserves_file_identity) {
1714 const char *inputs[] = {"proj.pkg.__init__",

Callers 1

test_registry.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected