mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-03 19:17:05 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			512 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			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);
 | 
						|
        
 | 
						|
    }
 | 
						|
} |