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>
13 lines
296 B
C#
13 lines
296 B
C#
using System;
|
|
using System.IO.Abstractions;
|
|
|
|
namespace Kavita.API.Services;
|
|
|
|
public interface IFileService
|
|
{
|
|
IFileSystem GetFileSystem();
|
|
bool HasFileBeenModifiedSince(string filePath, DateTime time);
|
|
bool Exists(string filePath);
|
|
bool ValidateSha(string filepath, string sha);
|
|
}
|