Kavita/Kavita.API/Services/Helpers/ICacheHelper.cs
Fesaa c62b20f54b
BE Tech Debt (#4497)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
2026-03-07 10:04:08 -08:00

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);
}