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

Function pr_copy

src/pipeline/doc_links_php.c:153–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151} pr_index_t;
152
153static const char *pr_copy(pr_index_t *ix, const char *s, size_t n) {
154 char *c = cbm_arena_strndup(&ix->arena, s, n);
155 ix->oom = ix->oom || !c;
156 return c;
157}
158
159static const char *pr_lower(pr_index_t *ix, const char *s, size_t n) {
160 char *c = cbm_arena_strndup(&ix->arena, s, n);

Callers 2

pr_read_typeFunction · 0.70
pr_read_recordFunction · 0.70

Calls 1

cbm_arena_strndupFunction · 0.50

Tested by

no test coverage detected