mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
15 lines
457 B
C#
15 lines
457 B
C#
using System.IO;
|
|
using System.Threading.Tasks;
|
|
using Wabbajack.Compiler.PatchCache;
|
|
using Wabbajack.Hashing.xxHash64;
|
|
using Wabbajack.RateLimiter;
|
|
|
|
namespace Wabbajack.Compiler;
|
|
|
|
public interface IBinaryPatchCache
|
|
{
|
|
public Task<CacheEntry> CreatePatch(Stream srcStream, Hash srcHash, Stream destStream, Hash destHash, IJob? job = null);
|
|
|
|
public Task<CacheEntry?> GetPatch(Hash hashA, Hash hashB);
|
|
public Task<byte[]> GetData(CacheEntry entry);
|
|
} |