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

Function find_resolved_arr

tests/test_go_lsp.c:65–74  ·  view source on GitHub ↗

Search cross-file resolved calls array */

Source from the content-addressed store, hash-verified

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

Callers 1

test_go_lsp.cFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected