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

Function cs_cut

internal/cbm/doclink_cs.c:447–450  ·  view source on GitHub ↗

Remove [start, end) from s. */

Source from the content-addressed store, hash-verified

445
446/* Remove [start, end) from s. */
447static void cs_cut(cs_str_t *t, size_t start, size_t end) {
448 memmove(t->s + start, t->s + end, t->len - end + SKIP_ONE);
449 t->len -= end - start;
450}
451
452static void cs_trim(cs_str_t *t) {
453 size_t b = 0;

Callers 5

cs_trimFunction · 0.85
cs_drop_attributesFunction · 0.85
cs_drop_modifiersFunction · 0.85
cs_drop_backtick_arityFunction · 0.85
cbm_doclink_cs_norm_typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected