16 lines
No EOL
512 B
C#
16 lines
No EOL
512 B
C#
using System.IO.Compression;
|
|
using API.Entities;
|
|
|
|
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);
|
|
string GetSummaryInfo(string archivePath);
|
|
|
|
}
|
|
} |