IFileIoService
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Relativity.Transfer.Http
{
internal interface IFileIoService : IDisposable
{
int MaxRetryAttempts { get; set; }
Task<string[][]> GetDefaultRepositorySpaceReportAsync(int workspaceId, CancellationToken token);
Task<IoResponse> BeginFillAsync(int workspaceId, byte[] data, string targetPath, string fileName, CancellationToken token);
Task<IoResponse> FileFillAsync(int workspaceId, byte[] data, string targetPath, string fileName, CancellationToken token);
Task RemoveFillAsync(int workspaceId, string targetPath, string fileGuid, CancellationToken token);
Task RemoveTempFile(int workspaceId, string fileGuid, CancellationToken token);
Task DownloadFileAsync(string targetFile, TransferPath path, CancellationToken token, IProgress<LargeFileProgressEventArgs> progress);
}
}