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
447 B

namespace EternalArrowBackup.TargetBinaryStorage.Contracts
{
using System.Threading.Tasks;
public interface ITargetBinaryStorage
{
Task WriteBlock(byte[] block, string blobId, int partNumber, string blockKey);
Task WriteBlob(string blobId, long originalSize, string[] blockKeys);
Task<IBlobInfo> GetBlobIfExists(string blobId);
Task<byte[]> RetrieveBlock(string blobId, string blockKey);
}
}