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

Function doc_span_kept

internal/cbm/extract_defs.c:2048–2050  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2046}
2047
2048static bool doc_span_kept(const char *src, const doc_span_t *sp, bool go_directives) {
2049 return sp->kind == DOC_SPAN_COMMENT && !(go_directives && doc_go_is_directive(src, sp));
2050}
2051
2052/* Text of items[first..last]: one comment keeps its exact bytes; several are
2053 * joined by newlines, each without its own trailing newline. NULL when nothing

Callers 1

doc_run_textFunction · 0.85

Calls 1

doc_go_is_directiveFunction · 0.85

Tested by

no test coverage detected