mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
bb9ef89dee
7Zip extracted archives now only extract the fewest files required. Audited the uses of .Wait Lazily init the VFS cleaning
25 lines
565 B
C#
25 lines
565 B
C#
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 Stream OpenRead();
|
|
|
|
public Task<bool> CanExtract();
|
|
|
|
public Task<ExtractedFiles> ExtractAll(WorkQueue queue, IEnumerable<RelativePath> Only = null);
|
|
|
|
public Task MoveTo(AbsolutePath path);
|
|
|
|
}
|
|
}
|