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

Function get_cache_dir

src/cli/cli.c:6530–6538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6528/* ── Index management ─────────────────────────────────────────── */
6529
6530static const char *get_cache_dir(const char *home_dir) {
6531 if (!home_dir) {
6532 home_dir = cbm_get_home_dir();
6533 }
6534 if (!home_dir) {
6535 return NULL;
6536 }
6537 return cbm_resolve_cache_dir();
6538}
6539
6540int cbm_list_indexes(const char *home_dir) {
6541 const char *cache_dir = get_cache_dir(home_dir);

Callers 3

cbm_list_indexesFunction · 0.85
cbm_remove_indexesFunction · 0.85
count_db_indexesFunction · 0.85

Calls 2

cbm_get_home_dirFunction · 0.85
cbm_resolve_cache_dirFunction · 0.85

Tested by

no test coverage detected