mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
16 lines
373 B
C#
16 lines
373 B
C#
|
using Wabbajack.DTOs.DownloadStates;
|
|||
|
|
|||
|
namespace Wabbajack.Downloaders.VerificationCache;
|
|||
|
|
|||
|
public class NullCache : IVerificationCache
|
|||
|
{
|
|||
|
public async Task<(bool? IsValid, IDownloadState State)> Get(IDownloadState state)
|
|||
|
{
|
|||
|
return (null, state);
|
|||
|
}
|
|||
|
|
|||
|
public Task Put(IDownloadState archive, bool valid)
|
|||
|
{
|
|||
|
return Task.CompletedTask;
|
|||
|
}
|
|||
|
}
|