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

Function require_resolved

tests/test_perl_lsp.c:50–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50static int require_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) {
51 int idx = find_resolved(r, callerSub, calleeSub);
52 if (idx < 0) {
53 printf(" MISSING resolved call: caller~%s -> callee~%s (have %d)\n", callerSub, calleeSub,
54 r->resolved_calls.count);
55 for (int i = 0; i < r->resolved_calls.count; i++) {
56 const CBMResolvedCall *rc = &r->resolved_calls.items[i];
57 printf(" %s -> %s [%s %.2f]\n", rc->caller_qn ? rc->caller_qn : "(null)",
58 rc->callee_qn ? rc->callee_qn : "(null)", rc->strategy ? rc->strategy : "(null)",
59 rc->confidence);
60 }
61 }
62 return idx;
63}
64
65static const CBMResolvedCall *find_resolved_with_strategy(const CBMFileResult *r,
66 const char *callerSub,

Callers 1

test_perl_lsp.cFile · 0.70

Calls 1

find_resolvedFunction · 0.70

Tested by

no test coverage detected