Code formatting and usings cleanup

This commit is contained in:
Matt Nadareski
2024-07-17 15:46:42 -04:00
parent 5c179bbf8b
commit 8344e9ae9b
63 changed files with 49 additions and 104 deletions

View File

@@ -59,7 +59,7 @@ namespace SabreTools.Reports
/// <param name="throwOnError">True if the error that is thrown should be thrown back to the caller, false otherwise</param>
/// <returns>True if the report was written correctly, false otherwise</returns>
public abstract bool WriteToFile(string? outfile, bool baddumpCol, bool nodumpCol, bool throwOnError = false);
/// <summary>
/// Returns the human-readable file size for an arbitrary, 64-bit file size
/// The default format is "0.### XB", e.g. "4.2 KB" or "1.434 GB"

View File

@@ -53,7 +53,7 @@ namespace SabreTools.Reports.Formats
if (stat.IsDirectory)
{
WriteIndividual(sw, stat, baddumpCol, nodumpCol);
// If we have anything but the last value, write the separator
if (i < Statistics.Count - 1)
WriteFooterSeparator(sw);