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 b7b5857 commit ec946bdCopy full SHA for ec946bd
CompactGUI.Core/Analyser.cs
@@ -97,12 +97,12 @@ await Task.Run(() =>
97
CompressedBytes = fl.CompressedSize,
98
UncompressedBytes = fl.UncompressedSize
99
},
100
- (key, existing) =>
+ (key, existing) => new ExtensionResult
101
{
102
- existing.TotalFiles++;
103
- existing.CompressedBytes += fl.CompressedSize;
104
- existing.UncompressedBytes += fl.UncompressedSize;
105
- return existing;
+ Extension = ext,
+ TotalFiles = existing.TotalFiles + 1,
+ CompressedBytes = existing.CompressedBytes + fl.CompressedSize,
+ UncompressedBytes = existing.UncompressedBytes + fl.UncompressedSize
106
});
107
108
0 commit comments