wabbajack/Wabbajack.VFS.Interfaces/IVfsCache.cs
Timothy Baldridge 8fd5794936 3.0.0.2
2022-08-19 17:59:29 -06:00

13 lines
370 B
C#

using Wabbajack.DTOs.Streams;
using Wabbajack.DTOs.Vfs;
using Wabbajack.Hashing.xxHash64;
using Wabbajack.Paths;
namespace Wabbajack.VFS.Interfaces;
public interface IVfsCache
{
public Task<IndexedVirtualFile?> Get(Hash hash, IStreamFactory sf, CancellationToken token);
public Task Put(IndexedVirtualFile file, CancellationToken token);
Task Clean();
}