mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Rewrite Verify to make more sense
This commit is contained in:
@@ -68,9 +68,12 @@ namespace SabreTools.Features
|
||||
|
||||
// If we have the depot flag, respect it
|
||||
if (Header.InputDepot?.IsActive ?? false)
|
||||
datdata.VerifyDepot(Inputs, OutputDir);
|
||||
datdata.VerifyDepot(Inputs);
|
||||
else
|
||||
datdata.VerifyGeneric(Inputs, OutputDir, hashOnly, quickScan, asFiles, Extras, Filter);
|
||||
datdata.VerifyGeneric(Inputs, hashOnly, quickScan, asFiles, Extras, Filter);
|
||||
|
||||
// Now write out if there are any items left
|
||||
datdata.Write(OutputDir, stats: true);
|
||||
}
|
||||
}
|
||||
// Otherwise, process all DATs into the same output
|
||||
@@ -98,9 +101,12 @@ namespace SabreTools.Features
|
||||
|
||||
// If we have the depot flag, respect it
|
||||
if (Header.InputDepot?.IsActive ?? false)
|
||||
datdata.VerifyDepot(Inputs, OutputDir);
|
||||
datdata.VerifyDepot(Inputs);
|
||||
else
|
||||
datdata.VerifyGeneric(Inputs, OutputDir, hashOnly, quickScan, asFiles, Extras, Filter);
|
||||
datdata.VerifyGeneric(Inputs, hashOnly, quickScan, asFiles, Extras, Filter);
|
||||
|
||||
// Now write out if there are any items left
|
||||
datdata.Write(OutputDir, stats: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user