Kavita/API/Interfaces/Services/IArchiveService.cs
Joseph Milazzo 70cc163cb0 More cleanup
2021-03-23 14:41:14 -05:00

16 lines
557 B
C#

using System.IO.Compression;
using API.Archive;
namespace API.Interfaces.Services
{
public interface IArchiveService
{
void ExtractArchive(string archivePath, string extractPath);
int GetNumberOfPagesFromArchive(string archivePath);
byte[] GetCoverImage(string archivePath, bool createThumbnail = false);
bool IsValidArchive(string archivePath);
string GetSummaryInfo(string archivePath);
ArchiveLibrary CanOpen(string archivePath);
bool ArchiveNeedsFlattening(ZipArchive archive);
}
}