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

Function find_resolved

tests/test_ts_lsp.c:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51static int find_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) {
52 for (int i = 0; i < r->resolved_calls.count; i++) {
53 const CBMResolvedCall *rc = &r->resolved_calls.items[i];
54 if (rc->confidence > 0 && rc->caller_qn && strstr(rc->caller_qn, callerSub) &&
55 rc->callee_qn && strstr(rc->callee_qn, calleeSub))
56 return i;
57 }
58 return -1;
59}
60
61static int require_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) {
62 int idx = find_resolved(r, callerSub, calleeSub);

Callers 2

require_resolvedFunction · 0.70
test_ts_lsp.cFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected