| 96 | } |
| 97 | |
| 98 | void cleanupInstallDirectory(const std::string& path) { |
| 99 | if (!file::deleteRecursively(path)) { |
| 100 | LOGGER.warn("Failed to delete existing installation at {}", path); |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | bool install(const std::string& path) { |
| 105 | // We lock and unlock frequently because SPI SD card devices share |
no test coverage detected