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

Function count_resolved

tests/test_kotlin_lsp.c:75–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75static int count_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) {
76 int n = 0;
77 for (int i = 0; i < r->resolved_calls.count; i++) {
78 const CBMResolvedCall *rc = &r->resolved_calls.items[i];
79 if (rc->caller_qn && strstr(rc->caller_qn, callerSub) && rc->callee_qn &&
80 strstr(rc->callee_qn, calleeSub)) {
81 n++;
82 }
83 }
84 return n;
85}
86
87/* ── 1. Package + import resolution ────────────────────────── */
88

Callers 1

test_kotlin_lsp.cFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected