mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-24 00:52:23 -04:00
13 lines
432 B
C#
13 lines
432 B
C#
using System.IO.Compression;
|
|
|
|
namespace API.Interfaces.Services
|
|
{
|
|
public interface IArchiveService
|
|
{
|
|
bool ArchiveNeedsFlattening(ZipArchive archive);
|
|
void ExtractArchive(string archivePath, string extractPath);
|
|
int GetNumberOfPagesFromArchive(string archivePath);
|
|
byte[] GetCoverImage(string filepath, bool createThumbnail = false);
|
|
bool IsValidArchive(string archivePath);
|
|
}
|
|
} |