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

Function require_resolved

tests/test_kotlin_lsp.c:60–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static int require_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) {
61 int idx = find_resolved(r, callerSub, calleeSub);
62 if (idx < 0) {
63 printf(" MISSING resolved call: caller~%s -> callee~%s (have %d)\n", callerSub, calleeSub,
64 r->resolved_calls.count);
65 for (int i = 0; i < r->resolved_calls.count; i++) {
66 const CBMResolvedCall *rc = &r->resolved_calls.items[i];
67 printf(" %s -> %s [%s %.2f]\n", rc->caller_qn ? rc->caller_qn : "(null)",
68 rc->callee_qn ? rc->callee_qn : "(null)", rc->strategy ? rc->strategy : "(null)",
69 rc->confidence);
70 }
71 }
72 return idx;
73}
74
75static int count_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) {
76 int n = 0;

Callers 1

test_kotlin_lsp.cFile · 0.70

Calls 1

find_resolvedFunction · 0.70

Tested by

no test coverage detected