wabbajack/Wabbajack.VFS.Interfaces/IVfsCache.cs

13 lines
370 B
C#
Raw Normal View History

2022-07-11 20:55:54 +00:00
using Wabbajack.DTOs.Streams;
using Wabbajack.DTOs.Vfs;
2022-06-22 01:38:42 +00:00
using Wabbajack.Hashing.xxHash64;
2022-07-11 20:55:54 +00:00
using Wabbajack.Paths;
2022-06-22 01:38:42 +00:00
namespace Wabbajack.VFS.Interfaces;
public interface IVfsCache
{
2022-07-11 20:55:54 +00:00
public Task<IndexedVirtualFile?> Get(Hash hash, IStreamFactory sf, CancellationToken token);
2022-06-22 01:38:42 +00:00
public Task Put(IndexedVirtualFile file, CancellationToken token);
2022-08-19 23:59:29 +00:00
Task Clean();
2022-06-22 01:38:42 +00:00
}