mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 12:05:51 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
19 lines
579 B
C#
19 lines
579 B
C#
using System;
|
|
using Kavita.Models.Entities;
|
|
using Kavita.Models.Entities.Interfaces;
|
|
|
|
namespace Kavita.API.Services.Helpers;
|
|
|
|
public interface ICacheHelper
|
|
{
|
|
bool ShouldUpdateCoverImage(string coverPath, MangaFile? firstFile, DateTime chapterCreated,
|
|
bool forceUpdate = false,
|
|
bool isCoverLocked = false);
|
|
|
|
bool CoverImageExists(string path);
|
|
|
|
bool IsFileUnmodifiedSinceCreationOrLastScan(IEntityDate chapter, bool forceUpdate, MangaFile? firstFile);
|
|
bool HasFileChangedSinceLastScan(DateTime lastScan, bool forceUpdate, MangaFile? firstFile);
|
|
|
|
}
|