wabbajack/Wabbajack.VirtualFileSystem/IExtractedFile.cs

25 lines
603 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Wabbajack.Common;
namespace Wabbajack.VirtualFileSystem
{
public interface IExtractedFile
{
public Task<Hash> HashAsync();
public DateTime LastModifiedUtc { get; }
public long Size { get; }
public ValueTask<Stream> OpenRead();
public Task<bool> CanExtract();
2020-07-28 03:30:25 +00:00
public Task<ExtractedFiles> ExtractAll(WorkQueue queue, IEnumerable<RelativePath> Only = null, bool throwOnError = false);
public Task MoveTo(AbsolutePath path);
}
}