Skip to content

Commit

Permalink
Todos
Browse files Browse the repository at this point in the history
  • Loading branch information
FenPhoenix committed Aug 18, 2023
1 parent 20d30ae commit c3c800c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions FMScanner/Core/Scanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4594,6 +4594,10 @@ private static int CountChars(string value, char character)
/// <param name="directory"></param>
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);
Expand Down

0 comments on commit c3c800c

Please sign in to comment.