blob: 1fc018ab7da2c63344de35f6f81ca6a7d94c9bc5 [file] [log] [blame]
#include "utils.h"
/** @short Remove directory tree at 'rootDir' path (if exists) */
void removeDirectoryTreeIfExists(const std::filesystem::path& rootDir)
{
if (std::filesystem::exists(rootDir)) {
std::filesystem::remove_all(rootDir);
}
}