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

Function cli_scope_scripted_attempt

tests/test_cli.c:2177–2182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2175} cli_scope_scripted_attempts_t;
2176
2177static cli_scope_attempt_t cli_scope_scripted_attempt(void *context) {
2178 cli_scope_scripted_attempts_t *script = context;
2179 int index = script->calls < script->count ? script->calls : script->count - 1;
2180 script->calls++;
2181 return script->outcomes[index];
2182}
2183
2184/* The rule that replaced the status and connect timeouts: a mute endpoint is
2185 * asked again, and only a reply or a definite refusal decides. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected