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

Function restore_cache_dir

tests/test_mcp.c:108–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108static void restore_cache_dir(const char *saved_copy) {
109 if (saved_copy) {
110 cbm_setenv("CBM_CACHE_DIR", saved_copy, 1);
111 } else {
112 cbm_unsetenv("CBM_CACHE_DIR");
113 }
114}
115
116static void cleanup_project_db(const char *cache, const char *project) {
117 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