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

Function mark_failed

src/pipeline/doc_links.c:428–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428static void mark_failed(cbm_doclinks_t *dl, const char *rel, const char *why) {
429 if (!atomic_exchange(&dl->failed, true)) {
430 cbm_log_error("doc_links.error", "phase", "resolve", "path", rel ? rel : "", "reason", why);
431 }
432}
433
434#if defined(CBM_ENABLE_TEST_SEAMS) && CBM_ENABLE_TEST_SEAMS
435static _Atomic int doclinks_test_edge_fail_after;

Callers 3

emit_mentionsFunction · 0.85
cbm_doclinks_take_rowsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected