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

Function doc_line_lost

internal/cbm/doclink.c:296–300  ·  view source on GitHub ↗

The map could not hold a doc: its references then take their definition's * line, and a doc shared by several declarators is taken once per declarator. * The layer must not say ok over that (CBMDocLinkArray.failed). */

Source from the content-addressed store, hash-verified

294 * line, and a doc shared by several declarators is taken once per declarator.
295 * The layer must not say ok over that (CBMDocLinkArray.failed). */
296static void doc_line_lost(CBMExtractCtx *ctx) {
297 if (ctx->result) {
298 ctx->result->doc_links.failed = true;
299 }
300}
301
302void cbm_doclink_note_doc_line(CBMExtractCtx *ctx, const char *doc, uint32_t line) {
303 if (!ctx || !doc || !cbm_doclink_lang_supported(ctx->language)) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected