| 106 | } |
| 107 | |
| 108 | static 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 | |
| 116 | static void cleanup_project_db(const char *cache, const char *project) { |
| 117 | if (!cache || !project) { |
no test coverage detected