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

Function te_fallback

src/mcp/test_impact_engine.c:53–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53bool te_fallback(te_ctx_t *c, cbm_test_result_fallback_t code, const char *diagnostic) {
54 te_note(c, diagnostic);
55 for (int i = 0; i < c->fallback_count; i++) {
56 if (c->fallbacks[i] == code) {
57 return true;
58 }
59 }
60 if (!te_grow((void **)&c->fallbacks, &c->fallback_cap, c->fallback_count,
61 sizeof(*c->fallbacks))) {
62 return te_oom(c);
63 }
64 c->fallbacks[c->fallback_count++] = code;
65 return true;
66}
67
68/* ── git ─────────────────────────────────────────────────────────── */
69

Callers 15

te_snapshot_failFunction · 0.85
te_gitFunction · 0.85
te_configFunction · 0.85
te_classify_rulesFunction · 0.85
te_add_seed_changeFunction · 0.85
te_classify_unmatchedFunction · 0.85
te_open_scopeFunction · 0.85
te_seedFunction · 0.85
te_selectFunction · 0.85
te_answerFunction · 0.85
te_namedFunction · 0.85
te_scan_literalFunction · 0.85

Calls 3

te_noteFunction · 0.85
te_growFunction · 0.85
te_oomFunction · 0.85

Tested by

no test coverage detected