mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-03 13:44:31 -04:00
21 lines
443 B
C#
21 lines
443 B
C#
using API.Entities;
|
|
|
|
namespace API.Interfaces
|
|
{
|
|
public interface ICacheService
|
|
{
|
|
/// <summary>
|
|
/// Ensures the cache is created for the given volume and if not, will create it.
|
|
/// </summary>
|
|
/// <param name="volumeId"></param>
|
|
void Ensure(int volumeId);
|
|
|
|
bool Cleanup(Volume volume);
|
|
|
|
//bool CleanupAll();
|
|
|
|
string GetCachePath(int volumeId);
|
|
|
|
|
|
}
|
|
} |