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

Function sh_paths_push

src/pipeline/pass_shell.c:118–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116} sh_paths_t;
117
118static void sh_paths_push(sh_paths_t *v, const char *p) {
119 if (sh_grow((void **)&v->items, &v->cap, v->count, sizeof(*v->items))) {
120 v->items[v->count++] = p;
121 }
122}
123
124static int sh_cmp_str(const void *a, const void *b) {
125 return strcmp(*(const char *const *)a, *(const char *const *)b);

Callers 1

sh_index_buildFunction · 0.85

Calls 1

sh_growFunction · 0.85

Tested by

no test coverage detected