mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Merge remote-tracking branch 'origin/hotfix/v6.4.1' into release/v6.5.0
This commit is contained in:
@ -214,6 +214,8 @@ namespace NSDirectory
|
||||
{
|
||||
std::vector<std::wstring> oArray;
|
||||
|
||||
if (strDirectory.empty()) return oArray;
|
||||
|
||||
#if defined(_WIN32) || defined (_WIN64)
|
||||
WIN32_FIND_DATAW oFD;
|
||||
|
||||
@ -480,6 +482,8 @@ namespace NSDirectory
|
||||
}
|
||||
void DeleteDirectory(const std::wstring& strDirectory, bool deleteRoot)
|
||||
{
|
||||
if (strDirectory.empty()) return;
|
||||
|
||||
std::vector<std::wstring> aFiles = GetFiles(strDirectory);
|
||||
for(size_t i = 0; i < aFiles.size(); ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user