Redux -> Wabbajack main code

This commit is contained in:
Timothy Baldridge
2021-09-27 06:42:46 -06:00
parent fed371a6f1
commit 2e6c756d6f
1169 changed files with 412328 additions and 68813 deletions

View File

@ -0,0 +1,20 @@
using System.Threading;
using System.Threading.Tasks;
using Wabbajack.DTOs.Streams;
using Wabbajack.Paths;
namespace Wabbajack.FileExtractor.ExtractedFiles
{
public interface IExtractedFile : IStreamFactory
{
public bool CanMove { get; set; }
/// <summary>
/// Possibly destructive move operation. Should greatly optimize file copies when the file
/// exists on the same disk as the newPath. Performs a copy if a move is not possible.
/// </summary>
/// <param name="newPath">destination to move the entry to</param>
/// <returns></returns>
public ValueTask Move(AbsolutePath newPath, CancellationToken token);
}
}