Be more explicit about support

This commit is contained in:
Matt Nadareski
2026-03-26 09:05:58 -04:00
parent 2fdc2407dd
commit c216129b37
25 changed files with 117 additions and 55 deletions

View File

@@ -279,7 +279,6 @@ namespace SabreTools.Metadata.DatItems
string sourceKeyPadded = source?.Index.ToString().PadLeft(10, '0') + '-';
string machineName = machine?.GetName() ?? "Default";
#pragma warning disable IDE0010
// Now determine what the key should be based on the bucketedBy value
switch (bucketedBy)
{
@@ -338,8 +337,12 @@ namespace SabreTools.Metadata.DatItems
case ItemKey.SpamSum:
key = HashType.SpamSum.ZeroString;
break;
case ItemKey.NULL:
default:
// This should never happen
break;
}
#pragma warning restore IDE0010
// Double and triple check the key for corner cases
key ??= string.Empty;