Modification to own class

This commit is contained in:
Matt Nadareski
2020-12-10 14:11:35 -08:00
parent 8f67c3e525
commit dab6aaddf1
7 changed files with 54 additions and 43 deletions

View File

@@ -54,7 +54,7 @@ namespace RombaSharp.Features
datfile.Header.Name = string.IsNullOrWhiteSpace(name) ? "untitled" : name;
datfile.Header.Description = description;
DirFromDat.PopulateFromDir(datfile, source, asFiles: TreatAsFile.NonArchive);
DatTool.ApplyCleaning(datfile, new Cleaner() { ExcludeFields = Hash.DeepHashes.AsFields() });
Modification.ApplyCleaning(datfile, new Cleaner() { ExcludeFields = Hash.DeepHashes.AsFields() });
Writer.Write(datfile, outdat);
}
}