Refactored more archive code into the service and updated documentation now that methods are public.

This commit is contained in:
Joseph Milazzo 2021-01-26 10:03:06 -06:00
parent 6b76c8b211
commit 6621730afb
13 changed files with 137 additions and 125 deletions

View file

@ -5,6 +5,8 @@ namespace API.Interfaces
public interface IArchiveService
{
bool ArchiveNeedsFlattening(ZipArchive archive);
public void ExtractArchive(string archivePath, string extractPath);
void ExtractArchive(string archivePath, string extractPath);
int GetNumberOfPagesFromArchive(string archivePath);
byte[] GetCoverImage(string filepath, bool createThumbnail = false);
}
}