WIP, abandoned: One-way backup tool with versioning and client-side encryption. Your precious data will never get lost!
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
453 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(ITargetBlock<ITargetFileVersion> actionBlock, CancellationToken ct);
}
}