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

Function doc_lost

internal/cbm/extract_defs.c:1935–1939  ·  view source on GitHub ↗

A doc comment was lost because memory ran out. For a language whose doc * comments are read for links, the doc-link layer must not then report a * complete graph (CBMDocLinkArray.failed). */

Source from the content-addressed store, hash-verified

1933 * comments are read for links, the doc-link layer must not then report a
1934 * complete graph (CBMDocLinkArray.failed). */
1935static void doc_lost(CBMExtractCtx *ctx) {
1936 if (ctx->result && cbm_doclink_lang_supported(ctx->language)) {
1937 ctx->result->doc_links.failed = true;
1938 }
1939}
1940
1941/* Leading trivia of `anchor`, in source order. */
1942static void doc_collect_trivia(CBMExtractCtx *ctx, TSNode anchor, doc_trivia_t *t) {

Callers 2

doc_collect_triviaFunction · 0.85
doc_run_textFunction · 0.85

Calls 1

Tested by

no test coverage detected