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

Function xl_resolve

tests/test_registry.c:1107–1114  ·  view source on GitHub ↗

Resolve with the unfiltered chain, then apply the cross-language veto the * way pass_calls.c / pass_parallel.c do. */

Source from the content-addressed store, hash-verified

1105/* Resolve with the unfiltered chain, then apply the cross-language veto the
1106 * way pass_calls.c / pass_parallel.c do. */
1107static cbm_resolution_t xl_resolve(const cbm_registry_t *r, CBMLanguage lang, const char *callee,
1108 const char *module_qn) {
1109 cbm_resolution_t res = cbm_registry_resolve(r, callee, module_qn, NULL, NULL, 0);
1110 if (cbm_registry_name_guess_vetoed(r, lang, &res)) {
1111 res = (cbm_resolution_t){0};
1112 }
1113 return res;
1114}
1115
1116TEST(name_guess_vetoed_across_languages) {
1117 cbm_registry_t *r = cbm_registry_new();

Callers 1

test_registry.cFile · 0.85

Calls 2

cbm_registry_resolveFunction · 0.85

Tested by

no test coverage detected