From a4565da4a998cfaa5bb8ff9d96d3d62b25574a90 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Sat, 18 Dec 2021 17:49:33 +0100 Subject: Use System.IO.Compression instead of SharpCompress for zips Also removes unused methods from ZipClient --- MediaBrowser.Model/IO/IZipClient.cs | 56 ------------------------------------- 1 file changed, 56 deletions(-) (limited to 'MediaBrowser.Model/IO/IZipClient.cs') diff --git a/MediaBrowser.Model/IO/IZipClient.cs b/MediaBrowser.Model/IO/IZipClient.cs index fca52ebae..2448575d1 100644 --- a/MediaBrowser.Model/IO/IZipClient.cs +++ b/MediaBrowser.Model/IO/IZipClient.cs @@ -9,64 +9,8 @@ namespace MediaBrowser.Model.IO /// public interface IZipClient { - /// - /// Extracts all. - /// - /// The source file. - /// The target path. - /// if set to true [overwrite existing files]. - void ExtractAll(string sourceFile, string targetPath, bool overwriteExistingFiles); - - /// - /// Extracts all. - /// - /// The source. - /// The target path. - /// if set to true [overwrite existing files]. - void ExtractAll(Stream source, string targetPath, bool overwriteExistingFiles); - void ExtractAllFromGz(Stream source, string targetPath, bool overwriteExistingFiles); void ExtractFirstFileFromGz(Stream source, string targetPath, string defaultFileName); - - /// - /// Extracts all from zip. - /// - /// The source. - /// The target path. - /// if set to true [overwrite existing files]. - void ExtractAllFromZip(Stream source, string targetPath, bool overwriteExistingFiles); - - /// - /// Extracts all from7z. - /// - /// The source file. - /// The target path. - /// if set to true [overwrite existing files]. - void ExtractAllFrom7z(string sourceFile, string targetPath, bool overwriteExistingFiles); - - /// - /// Extracts all from7z. - /// - /// The source. - /// The target path. - /// if set to true [overwrite existing files]. - void ExtractAllFrom7z(Stream source, string targetPath, bool overwriteExistingFiles); - - /// - /// Extracts all from tar. - /// - /// The source file. - /// The target path. - /// if set to true [overwrite existing files]. - void ExtractAllFromTar(string sourceFile, string targetPath, bool overwriteExistingFiles); - - /// - /// Extracts all from tar. - /// - /// The source. - /// The target path. - /// if set to true [overwrite existing files]. - void ExtractAllFromTar(Stream source, string targetPath, bool overwriteExistingFiles); } } -- cgit v1.2.3