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

Function pl_scan_init

internal/cbm/doclink_perl.c:1025–1031  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1023}
1024
1025static void pl_scan_init(pl_scan_t *s, CBMExtractCtx *ctx) {
1026 memset(s, 0, sizeof(*s));
1027 s->a = pl_scratch(ctx);
1028 s->src = ctx->source;
1029 s->len = (ctx->source && ctx->source_len > 0) ? (uint32_t)ctx->source_len : 0;
1030 s->line = SKIP_ONE;
1031}
1032
1033/* ── Docs -> tokens ──────────────────────────────────────────────── */
1034

Callers 2

pl_harvest_fileFunction · 0.85

Calls 1

pl_scratchFunction · 0.85

Tested by

no test coverage detected