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

Function doclink_scratch

internal/cbm/doclink.c:289–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287enum { DOC_LINE_MAP_INIT = 64 };
288
289static CBMArena *doclink_scratch(CBMExtractCtx *ctx) {
290 return ctx->scratch ? ctx->scratch : ctx->arena;
291}
292
293/* The map could not hold a doc: its references then take their definition's
294 * line, and a doc shared by several declarators is taken once per declarator.

Callers 2

twin_keysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected