We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edb4d74 commit f2a7536Copy full SHA for f2a7536
Plugins/Flow.Launcher.Plugin.Explorer/Views/PreviewPanel.xaml.cs
@@ -151,7 +151,7 @@ public static string GetFolderSize(string folderPath)
151
var directoryInfo = new DirectoryInfo(folderPath);
152
long size = 0;
153
var cancellationTokenSource = new CancellationTokenSource(TimeSpan.FromSeconds(3));
154
- foreach (var file in directoryInfo.GetFiles("*", SearchOption.AllDirectories))
+ foreach (var file in directoryInfo.EnumerateFiles("*", SearchOption.AllDirectories))
155
{
156
if (cancellationTokenSource.Token.IsCancellationRequested)
157
0 commit comments