| 572 | static _Thread_local char g_walk_cache_dir[CBM_SZ_4K]; |
| 573 | |
| 574 | static void walk_cache_dir_snapshot(void) { |
| 575 | const char *cache = cbm_workspace_cache_dir(); |
| 576 | snprintf(g_walk_cache_dir, sizeof(g_walk_cache_dir), "%s", cache ? cache : ""); |
| 577 | } |
| 578 | |
| 579 | /* The cache directory holds every indexed project's graph database. When a custom |
| 580 | * CBM_CACHE_DIR sits inside a repository — which happens in tests and is legal in |
no test coverage detected