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

Function cbm_intern

src/foundation/str_intern.c:140–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140const char *cbm_intern(CBMInternPool *pool, const char *s) {
141 if (!s) {
142 return NULL;
143 }
144 return cbm_intern_n(pool, s, strlen(s));
145}
146
147uint32_t cbm_intern_count(const CBMInternPool *pool) {
148 return pool ? pool->count : 0;

Callers 1

test_str_intern.cFile · 0.85

Calls 1

cbm_intern_nFunction · 0.85

Tested by

no test coverage detected