Moved the test data around so more tests can use it properly. Added a IsValidArchive that is re-usable for all archive methods.

This commit is contained in:
Joseph Milazzo 2021-01-26 10:32:07 -06:00
parent 6621730afb
commit ec64bf90c0
17 changed files with 48 additions and 17 deletions

View file

@ -8,5 +8,6 @@ namespace API.Interfaces
void ExtractArchive(string archivePath, string extractPath);
int GetNumberOfPagesFromArchive(string archivePath);
byte[] GetCoverImage(string filepath, bool createThumbnail = false);
bool IsValidArchive(string archivePath);
}
}