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

Function sh_targets_push

src/pipeline/pass_shell.c:404–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402} sh_targets_t;
403
404static void sh_targets_push(sh_targets_t *v, int64_t id, const char *path) {
405 if (id > 0 && sh_grow((void **)&v->items, &v->cap, v->count, sizeof(*v->items))) {
406 v->items[v->count++] = (sh_target_t){id, path};
407 }
408}
409
410/* ── Shell state ───────────────────────────────────────────────────── */
411

Callers 3

sh_add_manifestFunction · 0.85
sh_t_kustFunction · 0.85
sh_t_chartFunction · 0.85

Calls 1

sh_growFunction · 0.85

Tested by

no test coverage detected