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

Function mcp_search_cache_close

tests/test_mcp.c:236–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236static bool mcp_search_cache_close(mcp_search_cache_t *cache) {
237 restore_cache_dir(cache->saved_cache);
238 free(cache->saved_cache);
239 cache->saved_cache = NULL;
240 return th_rmtree(cache->path) == 0;
241}
242#endif
243
244typedef struct {

Callers 1

test_mcp.cFile · 0.85

Calls 2

restore_cache_dirFunction · 0.85
th_rmtreeFunction · 0.85

Tested by

no test coverage detected