MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / cleanupInstallDirectory

Function cleanupInstallDirectory

Tactility/Source/app/AppInstall.cpp:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

installFunction · 0.85

Calls 2

deleteRecursivelyFunction · 0.85
warnMethod · 0.80

Tested by

no test coverage detected