mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Introduce filter-on-read as first defense
This commit is contained in:
@@ -6,6 +6,7 @@ using System.Net;
|
||||
#if NET40_OR_GREATER || NETCOREAPP
|
||||
using System.Threading.Tasks;
|
||||
#endif
|
||||
using SabreTools.Core.Filter;
|
||||
using SabreTools.DatFiles;
|
||||
using SabreTools.IO;
|
||||
using SabreTools.IO.Extensions;
|
||||
@@ -75,8 +76,8 @@ namespace SabreTools.DatTools
|
||||
|
||||
InternalStopwatch watch = new($"Collecting statistics for '{file.CurrentPath}'");
|
||||
|
||||
List<string> machines = [];
|
||||
DatFile datdata = Parser.ParseStatistics(file.CurrentPath, throwOnError: throwOnError);
|
||||
FilterRunner filterRunner = new FilterRunner(new string[0]);
|
||||
DatFile datdata = Parser.ParseStatistics(file.CurrentPath, filterRunner, throwOnError);
|
||||
|
||||
// Add single DAT stats (if asked)
|
||||
if (single)
|
||||
|
||||
Reference in New Issue
Block a user