Fixed is empty method

This commit is contained in:
Marcel Baumgartner 2023-04-13 16:43:30 +02:00
parent 44c013493f
commit 08e4a9df22

View file

@ -39,7 +39,7 @@ public class StorageService
private bool IsEmpty(string path)
{
return !Directory.EnumerateFiles(path).Any();
return !Directory.EnumerateFileSystemEntries(path).Any();
}
private static void CopyFilesRecursively(string sourcePath, string targetPath)
{