| 59 | } |
| 60 | |
| 61 | static void restore_cache_dir(const char *saved_copy) { |
| 62 | if (saved_copy) { |
| 63 | cbm_setenv("CBM_CACHE_DIR", saved_copy, 1); |
| 64 | } else { |
| 65 | cbm_unsetenv("CBM_CACHE_DIR"); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | static void cleanup_project_db(const char *cache, const char *project) { |
| 70 | if (!cache || !project) { |
no test coverage detected