mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Code cleanup and fix test running
This commit is contained in:
@ -3,18 +3,17 @@ using System.Threading.Tasks;
|
||||
using Wabbajack.DTOs.Streams;
|
||||
using Wabbajack.Paths;
|
||||
|
||||
namespace Wabbajack.FileExtractor.ExtractedFiles
|
||||
{
|
||||
public interface IExtractedFile : IStreamFactory
|
||||
{
|
||||
public bool CanMove { get; set; }
|
||||
namespace Wabbajack.FileExtractor.ExtractedFiles;
|
||||
|
||||
/// <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);
|
||||
}
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user