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

Function find_resolved

tests/test_rust_lsp.c:31–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31static int find_resolved(const CBMFileResult *r, const char *callerSub,
32 const char *calleeSub) {
33 for (int i = 0; i < r->resolved_calls.count; i++) {
34 const CBMResolvedCall *rc = &r->resolved_calls.items[i];
35 if (rc->caller_qn && strstr(rc->caller_qn, callerSub) &&
36 rc->callee_qn && strstr(rc->callee_qn, calleeSub)) {
37 return i;
38 }
39 }
40 return -1;
41}
42
43static int require_resolved(const CBMFileResult *r, const char *callerSub,
44 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