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

Function dk_set

src/pipeline/pass_docker.c:175–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175static void dk_set(dk_t *d, dk_var_t **list, const char *name, const char *value) {
176 dk_var_t *v = cbm_arena_alloc(d->a, sizeof(*v));
177 if (v) {
178 *v = (dk_var_t){.name = name, .value = value, .next = *list};
179 *list = v;
180 }
181}
182
183/* ASCII case-insensitive equality (stage names, `scratch`). */
184static bool dk_ieq(const char *a, const char *b) {

Callers 2

dk_argFunction · 0.85
dk_envFunction · 0.85

Calls 1

cbm_arena_allocFunction · 0.50

Tested by

no test coverage detected