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

Function worker_set_local_env

src/mcp/index_supervisor.c:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static void worker_set_local_env(const char *name, const char *value) {
61 if (value && value[0]) {
62 (void)cbm_setenv(name, value, 1);
63 } else {
64 (void)cbm_unsetenv(name);
65 }
66}
67
68void cbm_index_set_worker_role_options(bool is_worker, const char *response_out, bool single_thread,
69 const char *marker_file, const char *quarantine_file,

Callers 1

Calls 2

cbm_setenvFunction · 0.85
cbm_unsetenvFunction · 0.85

Tested by

no test coverage detected