You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
452 B
15 lines
452 B
namespace EternalArrowBackup.TargetMetadataStorage.Contracts
|
|
{
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using System.Threading.Tasks.Dataflow;
|
|
|
|
public interface ITargetDirectory
|
|
{
|
|
string DirectoryName { get; }
|
|
|
|
Task UploadFile(string filename, string originalHash, long originalSize);
|
|
|
|
Task GetAllLatestFileVersions(ActionBlock<ITargetFileVersion> actionBlock, CancellationToken ct);
|
|
}
|
|
}
|
|
|