From 5b189778989633d55a2cbef4a5b5c453618dd66a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 13 Jun 2016 20:54:29 -0700 Subject: [PATCH] [SimpleSort] Create second archive method --- SimpleSort/SimpleSort.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/SimpleSort/SimpleSort.cs b/SimpleSort/SimpleSort.cs index 1cf4f3da..17636012 100644 --- a/SimpleSort/SimpleSort.cs +++ b/SimpleSort/SimpleSort.cs @@ -424,6 +424,18 @@ namespace SabreTools } } + /// + /// Attempt to extract a file as an archive + /// + /// Name of the file to be extracted + /// Temporary directory for archive extraction + /// Logger object for file and console output + /// True if the extraction was a success, false otherwise + public static bool ExtractArchive(string input, string tempdir, Logger logger) + { + return ExtractArchive(input, tempdir, ArchiveScanLevel.Both, ArchiveScanLevel.External, ArchiveScanLevel.External, ArchiveScanLevel.Both, logger); + } + /// /// Attempt to extract a file as an archive ///