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

Function ws_env_save

tests/test_workspace.c:419–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417/* ── Environment helpers ────────────────────────────────────────────────── */
418
419static char *ws_env_save(const char *name) {
420 const char *value = getenv(name);
421 return value ? strdup(value) : NULL;
422}
423
424static void ws_env_restore(const char *name, char *saved) {
425 if (saved) {

Callers 1

test_workspace.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected