Files
duplicati/Duplicati/Library/Main/ForestHash/Database/RemoteVolumeEntry.cs
T
kenneth@hexad.dk a0521da54d Initial version of the new block-based storage format.
Still needs a work over in terms of error handling, progress reporting, warning output, refactoring etc.
Also misses the volume reuse/reclaim algorithms.
But it passes the unit tests now, with and without a local database.

git-svn-id: https://duplicati.googlecode.com/svn/sandboxes/Kenneth/ForestHash@1526 59da171f-624f-0410-aa54-27559c288bec
2013-02-12 21:43:14 +00:00

26 lines
691 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Duplicati.Library.Main.ForestHash.Database
{
public struct RemoteVolumeEntry
{
public readonly string Name;
public readonly string Hash;
public readonly long Size;
public readonly RemoteVolumeType Type;
public readonly RemoteVolumeState State;
public RemoteVolumeEntry(string name, string hash, long size, RemoteVolumeType type, RemoteVolumeState state)
{
this.Name = name;
this.Size = size;
this.Type = type;
this.State = state;
this.Hash = hash;
}
}
}