diff --git a/FMScanner/Core/Scanner.cs b/FMScanner/Core/Scanner.cs index 672ef92fe..842a6615a 100644 --- a/FMScanner/Core/Scanner.cs +++ b/FMScanner/Core/Scanner.cs @@ -4594,6 +4594,10 @@ private static int CountChars(string value, char character) /// private static void DeleteDirectory(string directory) { + /* + @vNext(Fast directory delete): Couldn't we just recursively delete directory and not do this weird extra work first? + @vNext(Fast directory delete): This uses the slow (8.3 name getting) code. We can use a custom version to make it faster. + */ DirAndFileTree_UnSetReadOnly(directory); string[] dirs = Directory.GetDirectories(directory, "*", SearchOption.TopDirectoryOnly);