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

Function find_resolved

tests/test_rust_lsp.c:37–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37static int find_resolved(const CBMFileResult *r, const char *callerSub,
38 const char *calleeSub) {
39 for (int i = 0; i < r->resolved_calls.count; i++) {
40 const CBMResolvedCall *rc = &r->resolved_calls.items[i];
41 if (rc->caller_qn && strstr(rc->caller_qn, callerSub) &&
42 rc->callee_qn && strstr(rc->callee_qn, calleeSub)) {
43 return i;
44 }
45 }
46 return -1;
47}
48
49static int require_resolved(const CBMFileResult *r, const char *callerSub,
50 const char *calleeSub) {

Callers 2

require_resolvedFunction · 0.70
test_rust_lsp.cFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected