mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Utilities] Rename GetArchiveType
This commit is contained in:
@@ -446,7 +446,7 @@ namespace SabreTools.Library.Tools
|
|||||||
BaseArchive archive = null;
|
BaseArchive archive = null;
|
||||||
|
|
||||||
// First get the archive type
|
// First get the archive type
|
||||||
ArchiveType? at = GetCurrentArchiveType(input);
|
ArchiveType? at = GetArchiveType(input);
|
||||||
|
|
||||||
// If we got back null, then it's not an archive, so we we return
|
// If we got back null, then it's not an archive, so we we return
|
||||||
if (at == null)
|
if (at == null)
|
||||||
@@ -907,7 +907,7 @@ namespace SabreTools.Library.Tools
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="input">Input file to check</param>
|
/// <param name="input">Input file to check</param>
|
||||||
/// <returns>ArchiveType of inputted file (null on error)</returns>
|
/// <returns>ArchiveType of inputted file (null on error)</returns>
|
||||||
public static ArchiveType? GetCurrentArchiveType(string input)
|
public static ArchiveType? GetArchiveType(string input)
|
||||||
{
|
{
|
||||||
ArchiveType? outtype = null;
|
ArchiveType? outtype = null;
|
||||||
|
|
||||||
@@ -1192,7 +1192,7 @@ namespace SabreTools.Library.Tools
|
|||||||
shouldExternalProcess = true;
|
shouldExternalProcess = true;
|
||||||
shouldInternalProcess = true;
|
shouldInternalProcess = true;
|
||||||
|
|
||||||
ArchiveType? archiveType = GetCurrentArchiveType(input);
|
ArchiveType? archiveType = GetArchiveType(input);
|
||||||
switch (archiveType)
|
switch (archiveType)
|
||||||
{
|
{
|
||||||
case null:
|
case null:
|
||||||
|
|||||||
Reference in New Issue
Block a user