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

Function find_call_by_callee

tests/test_extraction.c:3194–3201  ·  view source on GitHub ↗

Find an in-body call by its raw callee text; returns the call or NULL. */

Source from the content-addressed store, hash-verified

3192
3193/* Find an in-body call by its raw callee text; returns the call or NULL. */
3194static const CBMCall *find_call_by_callee(CBMFileResult *r, const char *callee) {
3195 for (int i = 0; i < r->calls.count; i++) {
3196 if (r->calls.items[i].callee_name && strcmp(r->calls.items[i].callee_name, callee) == 0) {
3197 return &r->calls.items[i];
3198 }
3199 }
3200 return NULL;
3201}
3202
3203/* Issue #1006: JS/TS template-literal URLs must flatten ${...} substitutions
3204 * to the canonical "{}" placeholder, both as call arguments (HTTP_CALLS) and

Callers 1

test_extraction.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected