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

Function gfb_cancel

tests/test_test_impact_git.c:2231–2236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2229
2230typedef struct { bool armed; size_t calls, cancel_at; } gfb_cancel_t;
2231static bool gfb_cancel(void *opaque) {
2232 gfb_cancel_t *c=opaque;
2233 if(!c->armed)return false;
2234 c->calls++;
2235 return c->cancel_at && c->calls>=c->cancel_at;
2236}
2237
2238TEST(test_git_blob_batch_cancellation_is_sticky_and_owner_local) {
2239 gfb_fixture_t f;bool configured=gfb_open(&f,false);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected