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 ///