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

Function count_resolved

tests/test_rust_lsp.c:66–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66static int count_resolved(const CBMFileResult *r, const char *callerSub,
67 const char *calleeSub) {
68 int n = 0;
69 for (int i = 0; i < r->resolved_calls.count; i++) {
70 const CBMResolvedCall *rc = &r->resolved_calls.items[i];
71 if (rc->caller_qn && strstr(rc->caller_qn, callerSub) &&
72 rc->callee_qn && strstr(rc->callee_qn, calleeSub)) {
73 n++;
74 }
75 }
76 return n;
77}
78
79static bool rustlsp_definition_has_decorator(const CBMFileResult *result,
80 const char *definition_name,

Callers 1

test_rust_lsp.cFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected