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

Function restore_cache_dir

tests/test_mcp.c:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111static void restore_cache_dir(const char *saved_copy) {
112 if (saved_copy) {
113 cbm_setenv("CBM_CACHE_DIR", saved_copy, 1);
114 } else {
115 cbm_unsetenv("CBM_CACHE_DIR");
116 }
117}
118
119static void cleanup_project_db(const char *cache, const char *project) {
120 if (!cache || !project) {

Callers 8

mcp_search_cache_closeFunction · 0.85
test_mcp.cFile · 0.85
detect_default_base_runFunction · 0.85
autoindex_limit_probeFunction · 0.85

Calls 2

cbm_setenvFunction · 0.85
cbm_unsetenvFunction · 0.85

Tested by

no test coverage detected