mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-03 19:17:05 -05:00 
			
		
		
		
	* Implemented methods to parse out the whole ComicInfo file and a mock ComicInfo from epub files. * Removed unused imports. ScanSeries needs to cleanup deleted chapters and call RefreshMetadata. Ensure after scan we cleanup tags without any series. * Random cleanup * Added some comments about data getting stale and not updating. * Removed old Summary methods in favor of the ComicInfo versions * Added a missing property * Fixed unit test
		
			
				
	
	
		
			22 lines
		
	
	
		
			753 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			753 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
using System.Collections.Generic;
 | 
						|
using System.IO.Compression;
 | 
						|
using System.Threading.Tasks;
 | 
						|
using API.Archive;
 | 
						|
using API.Data.Metadata;
 | 
						|
 | 
						|
namespace API.Interfaces.Services
 | 
						|
{
 | 
						|
    public interface IArchiveService
 | 
						|
    {
 | 
						|
        void ExtractArchive(string archivePath, string extractPath);
 | 
						|
        int GetNumberOfPagesFromArchive(string archivePath);
 | 
						|
        string GetCoverImage(string archivePath, string fileName);
 | 
						|
        bool IsValidArchive(string archivePath);
 | 
						|
        ComicInfo GetComicInfo(string archivePath);
 | 
						|
        ArchiveLibrary CanOpen(string archivePath);
 | 
						|
        bool ArchiveNeedsFlattening(ZipArchive archive);
 | 
						|
        Task<Tuple<byte[], string>> CreateZipForDownload(IEnumerable<string> files, string tempFolder);
 | 
						|
    }
 | 
						|
}
 |