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.
|
|
|
|
namespace EternalArrowBackup.TargetMetadataStorage.InMemoryMetadataStorage
|
|
|
|
|
{
|
|
|
|
|
using System;
|
|
|
|
|
using EternalArrowBackup.TargetMetadataStorage.Contracts;
|
|
|
|
|
|
|
|
|
|
internal class TargetFileVersion : ITargetFileVersion
|
|
|
|
|
{
|
|
|
|
|
public TargetFileVersion(string filename, string hash, DateTime uploadDate, long size)
|
|
|
|
|
{
|
|
|
|
|
this.Filename = filename;
|
|
|
|
|
this.Hash = hash;
|
|
|
|
|
this.UploadDate = uploadDate;
|
|
|
|
|
this.Size = size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Filename { get; }
|
|
|
|
|
|
|
|
|
|
public string Hash { get; }
|
|
|
|
|
|
|
|
|
|
public DateTime UploadDate { get; }
|
|
|
|
|
|
|
|
|
|
public long Size { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|