mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Simplify GetInfo
This commit is contained in:
@@ -268,7 +268,8 @@ namespace SabreTools.Library.FileTypes
|
||||
_children = new List<BaseFile>();
|
||||
foreach (string file in Directory.EnumerateFiles(this.Filename, "*", SearchOption.TopDirectoryOnly))
|
||||
{
|
||||
BaseFile nf = FileExtensions.GetInfo(file, omitFromScan: omitFromScan, date: date);
|
||||
BaseFile nf = FileExtensions.GetInfo(file, date: date);
|
||||
nf.RemoveHashes(omitFromScan);
|
||||
_children.Add(nf);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user