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

Function find_resolved_arr

tests/test_go_lsp.c:66–75  ·  view source on GitHub ↗

Search cross-file resolved calls array */

Source from the content-addressed store, hash-verified

64
65/* Search cross-file resolved calls array */
66static int find_resolved_arr(const CBMResolvedCallArray *arr, const char *callerSub,
67 const char *calleeSub) {
68 for (int i = 0; i < arr->count; i++) {
69 const CBMResolvedCall *rc = &arr->items[i];
70 if (rc->caller_qn && strstr(rc->caller_qn, callerSub) && rc->callee_qn &&
71 strstr(rc->callee_qn, calleeSub))
72 return i;
73 }
74 return -1;
75}
76
77static int find_resolved_arr_confident(const CBMResolvedCallArray *arr, const char *callerSub,
78 const char *calleeSub) {

Callers 1

test_go_lsp.cFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected