wabbajack/Wabbajack.VFS.Interfaces/IVfsCache.cs

12 lines
352 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);
}