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

Function pl_control

internal/cbm/doclink_perl.c:99–102  ·  view source on GitHub ↗

A control byte that is not white space: never copied into a blob record or * a raw text (a NUL would end either). */

Source from the content-addressed store, hash-verified

97/* A control byte that is not white space: never copied into a blob record or
98 * a raw text (a NUL would end either). */
99static bool pl_control(char c) {
100 unsigned char u = (unsigned char)c;
101 return (u < ' ' && !pl_space(c)) || u == PL_ASCII_DEL;
102}
103
104static CBMArena *pl_scratch(CBMExtractCtx *ctx) {
105 return ctx->scratch ? ctx->scratch : ctx->arena;

Callers 1

pl_out_textFunction · 0.85

Calls 1

pl_spaceFunction · 0.85

Tested by

no test coverage detected