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

Function inv_has_call

tests/repro/repro_invariant_lib.h:111–116  ·  view source on GitHub ↗

True if a call to `callee` (substring match on callee_name) was extracted. */

Source from the content-addressed store, hash-verified

109
110/* True if a call to `callee` (substring match on callee_name) was extracted. */
111static inline int inv_has_call(CBMFileResult *r, const char *callee) {
112 for (int i = 0; i < r->calls.count; i++)
113 if (r->calls.items[i].callee_name && strstr(r->calls.items[i].callee_name, callee))
114 return 1;
115 return 0;
116}
117
118/* ── Store-level (full pipeline) invariants ─────────────────────── */
119

Callers 12

single_file_batteryFunction · 0.85
single_file_batteryFunction · 0.85
config_callable_batteryFunction · 0.85
single_file_batteryFunction · 0.85
markup_callable_batteryFunction · 0.85
single_file_batteryFunction · 0.85
sh_callable_batteryFunction · 0.85
misc_single_file_batteryFunction · 0.85
single_file_batteryFunction · 0.85
build_callable_batteryFunction · 0.85
callable_batteryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected