This commit is contained in:
@@ -107,6 +107,22 @@ namespace dropshell
|
||||
return mPath;
|
||||
}
|
||||
|
||||
|
||||
|
||||
cLocalTempFolder::cLocalTempFolder()
|
||||
{
|
||||
mPath = std::filesystem::temp_directory_path() / random_alphanumeric_string(10);
|
||||
std::filesystem::create_directories(mPath);
|
||||
}
|
||||
cLocalTempFolder::~cLocalTempFolder()
|
||||
{
|
||||
std::filesystem::remove_all(mPath);
|
||||
}
|
||||
std::filesystem::path cLocalTempFolder::path() const
|
||||
{
|
||||
return mPath;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
// get_all_services_status : SHARED COMMAND
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user