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

Function restore_cache_dir

tests/test_mcp.c:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61static void restore_cache_dir(const char *saved_copy) {
62 if (saved_copy) {
63 cbm_setenv("CBM_CACHE_DIR", saved_copy, 1);
64 } else {
65 cbm_unsetenv("CBM_CACHE_DIR");
66 }
67}
68
69static void cleanup_project_db(const char *cache, const char *project) {
70 if (!cache || !project) {

Callers 2

test_mcp.cFile · 0.85

Calls 2

cbm_setenvFunction · 0.85
cbm_unsetenvFunction · 0.85

Tested by

no test coverage detected