mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Checkpoint (nw)
This commit is contained in:
@@ -63,7 +63,7 @@ contents of any changed dats.";
|
||||
DatFile datroot = DatFile.Create();
|
||||
datroot.Header.Type = "SuperDAT";
|
||||
datroot.PopulateFromDir(_dats, asFiles: TreatAsFiles.CHDs);
|
||||
datroot.Items.BucketBy(Field.SHA1, DedupeType.None);
|
||||
datroot.Items.BucketBy(Field.DatItem_SHA1, DedupeType.None);
|
||||
|
||||
// Create a List of dat hashes in the database (SHA-1)
|
||||
List<string> databaseDats = new List<string>();
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace RombaSharp.Features
|
||||
// Now rescan the depot itself
|
||||
DatFile depot = DatFile.Create();
|
||||
depot.PopulateFromDir(depotname, asFiles: TreatAsFiles.CHDs);
|
||||
depot.Items.BucketBy(Field.SHA1, DedupeType.None);
|
||||
depot.Items.BucketBy(Field.DatItem_SHA1, DedupeType.None);
|
||||
|
||||
// Set the base queries to use
|
||||
string crcquery = "INSERT OR IGNORE INTO crc (crc) VALUES";
|
||||
|
||||
Reference in New Issue
Block a user