Add defaults for DFD

This commit is contained in:
Matt Nadareski
2020-08-02 13:34:35 -07:00
parent 25a09625f1
commit c260f0cd66
5 changed files with 21 additions and 25 deletions

View File

@@ -62,9 +62,7 @@ contents of any changed dats.";
// First get a list of SHA-1's from the input DATs
DatFile datroot = DatFile.Create();
datroot.Header.Type = "SuperDAT";
// TODO: All instances of Hash.DeepHashes should be made into 0x0 eventually
datroot.PopulateFromDir(_dats, Hash.DeepHashes, false, TreatAsFiles.CHDs, SkipFileType.None, false, false, false, null);
datroot.PopulateFromDir(_dats, asFiles: TreatAsFiles.CHDs);
datroot.Items.BucketBy(BucketedBy.SHA1, DedupeType.None);
// Create a List of dat hashes in the database (SHA-1)