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.
EternalArrowBackup/Source/TargetMetadataStorage/Contracts/ITargetMetadataStorageForRe...

16 lines
567 B

7 years ago
namespace EternalArrowBackup.TargetMetadataStorage.Contracts
{
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
public interface ITargetMetadataStorageForRecovery : ITargetMetadataStorage
{
Task GetAllDirectories(ITargetBlock<ITargetDirectory> actionBlock, CancellationToken ct);
Task<ITargetFile> GetFile(string normalizedRelativeDirectoryPath, string filename);
Task GetBlobUsages(string hash, ITargetBlock<ITargetFileVersion> actionBlock, CancellationToken ct);
}
}