| 109 | } |
| 110 | |
| 111 | static 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 | |
| 119 | static void cleanup_project_db(const char *cache, const char *project) { |
| 120 | if (!cache || !project) { |
no test coverage detected