Add Git overlay, operation tools, and virtualized preview so large folders stay responsive.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-24 15:04:04 +02:00
parent 9bf451932f
commit a3c54bbb03
127 changed files with 14748 additions and 633 deletions

View File

@@ -47,6 +47,11 @@ internal static class ShellIconCache
return isDirectory ? "dir:generic" : "file:generic";
}
if (path == LocationRoots.RecycleBin)
{
return "recycle";
}
if (isDirectory)
{
return PathRules.IsDriveRoot(path) || (path.Length <= 3 && path.Contains(':', StringComparison.Ordinal))
@@ -79,6 +84,10 @@ internal static class ShellIconCache
psz = isDirectory ? "folder" : "file";
flags |= ShgfiUseFileAttributes;
}
else if (path == LocationRoots.RecycleBin)
{
psz = @"::{645FF040-5081-101B-9F08-00AA002F954E}";
}
else if (isDirectory && PathRules.IsDriveRoot(path))
{
psz = PathRules.EnsureDirectoryTrailingSlashIfRoot(path);