Move DedupeType to better namespace

This commit is contained in:
Matt Nadareski
2020-12-14 11:16:48 -08:00
parent 1690308894
commit 7ab5a64d4d
5 changed files with 23 additions and 22 deletions

View File

@@ -5,27 +5,6 @@ namespace SabreTools.Core
{ {
#region DatFiles #region DatFiles
/// <summary>
/// Determines the DAT deduplication type
/// </summary>
public enum DedupeType
{
None = 0,
Full,
// Force only deduping with certain types
Game,
CRC,
MD5,
#if NET_FRAMEWORK
RIPEMD160,
#endif
SHA1,
SHA256,
SHA384,
SHA512,
}
/// <summary> /// <summary>
/// Available hashing types /// Available hashing types
/// </summary> /// </summary>

View File

@@ -159,4 +159,25 @@ namespace SabreTools.DatFiles
// Specialty combinations // Specialty combinations
ALL = Int32.MaxValue, ALL = Int32.MaxValue,
} }
/// <summary>
/// Determines the DAT deduplication type
/// </summary>
public enum DedupeType
{
None = 0,
Full,
// Force only deduping with certain types
Game,
CRC,
MD5,
#if NET_FRAMEWORK
RIPEMD160,
#endif
SHA1,
SHA256,
SHA384,
SHA512,
}
} }

View File

@@ -6,7 +6,6 @@ using System.Threading.Tasks;
using SabreTools.Core; using SabreTools.Core;
using SabreTools.DatFiles; using SabreTools.DatFiles;
using SabreTools.DatItems; using SabreTools.DatItems;
using SabreTools.Filtering;
using SabreTools.IO; using SabreTools.IO;
using SabreTools.Logging; using SabreTools.Logging;

View File

@@ -4,6 +4,7 @@ using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using SabreTools.Core; using SabreTools.Core;
using SabreTools.DatFiles;
using SabreTools.DatItems; using SabreTools.DatItems;
namespace SabreTools.Filtering namespace SabreTools.Filtering

View File

@@ -13,6 +13,7 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\SabreTools.Core\SabreTools.Core.csproj" /> <ProjectReference Include="..\SabreTools.Core\SabreTools.Core.csproj" />
<ProjectReference Include="..\SabreTools.DatFiles\SabreTools.DatFiles.csproj" />
<ProjectReference Include="..\SabreTools.DatItems\SabreTools.DatItems.csproj" /> <ProjectReference Include="..\SabreTools.DatItems\SabreTools.DatItems.csproj" />
<ProjectReference Include="..\SabreTools.IO\SabreTools.IO.csproj" /> <ProjectReference Include="..\SabreTools.IO\SabreTools.IO.csproj" />
<ProjectReference Include="..\SabreTools.Logging\SabreTools.Logging.csproj" /> <ProjectReference Include="..\SabreTools.Logging\SabreTools.Logging.csproj" />