| 2229 | |
| 2230 | typedef struct { bool armed; size_t calls, cancel_at; } gfb_cancel_t; |
| 2231 | static 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 | |
| 2238 | TEST(test_git_blob_batch_cancellation_is_sticky_and_owner_local) { |
| 2239 | gfb_fixture_t f;bool configured=gfb_open(&f,false); |
nothing calls this directly
no outgoing calls
no test coverage detected