mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-02 21:24:18 -04:00
16 lines
557 B
C#
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);
|
|
}
|
|
} |