Table of Contents

Class BackupStoreListing

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

What a store holds.

public sealed record BackupStoreListing : IEquatable<BackupStoreListing>
Inheritance
BackupStoreListing
Implements
Inherited Members

Constructors

BackupStoreListing(Guid, Guid, IReadOnlyList<BackupPointSummary>, IReadOnlyList<BackupChainSummary>, IReadOnlyList<KeyValuePair<string, string>>, IReadOnlyList<string>, IReadOnlyList<uint>)

What a store holds.

public BackupStoreListing(Guid StoreId, Guid DatabaseId, IReadOnlyList<BackupPointSummary> Points, IReadOnlyList<BackupChainSummary> Chains, IReadOnlyList<KeyValuePair<string, string>> UnreadablePacks, IReadOnlyList<string> TemporaryFiles, IReadOnlyList<uint> RestorablePoints)

Parameters

StoreId Guid

The store's identity.

DatabaseId Guid

The database it belongs to.

Points IReadOnlyList<BackupPointSummary>

Every readable point, ascending id.

Chains IReadOnlyList<BackupChainSummary>

Every chain's head.

UnreadablePacks IReadOnlyList<KeyValuePair<string, string>>

Pack files whose header or footer cannot be read, with why.

TemporaryFiles IReadOnlyList<string>

In-progress or abandoned temps.

RestorablePoints IReadOnlyList<uint>

The restorable points by a quick verify, or null when not asked for.

Properties

Chains

Every chain's head.

public IReadOnlyList<BackupChainSummary> Chains { get; init; }

Property Value

IReadOnlyList<BackupChainSummary>

DatabaseId

The database it belongs to.

public Guid DatabaseId { get; init; }

Property Value

Guid

Points

Every readable point, ascending id.

public IReadOnlyList<BackupPointSummary> Points { get; init; }

Property Value

IReadOnlyList<BackupPointSummary>

RestorablePoints

The restorable points by a quick verify, or null when not asked for.

public IReadOnlyList<uint> RestorablePoints { get; init; }

Property Value

IReadOnlyList<uint>

StoreId

The store's identity.

public Guid StoreId { get; init; }

Property Value

Guid

TemporaryFiles

In-progress or abandoned temps.

public IReadOnlyList<string> TemporaryFiles { get; init; }

Property Value

IReadOnlyList<string>

UnreadablePacks

Pack files whose header or footer cannot be read, with why.

public IReadOnlyList<KeyValuePair<string, string>> UnreadablePacks { get; init; }

Property Value

IReadOnlyList<KeyValuePair<string, string>>

Methods

Deconstruct(out Guid, out Guid, out IReadOnlyList<BackupPointSummary>, out IReadOnlyList<BackupChainSummary>, out IReadOnlyList<KeyValuePair<string, string>>, out IReadOnlyList<string>, out IReadOnlyList<uint>)

public void Deconstruct(out Guid StoreId, out Guid DatabaseId, out IReadOnlyList<BackupPointSummary> Points, out IReadOnlyList<BackupChainSummary> Chains, out IReadOnlyList<KeyValuePair<string, string>> UnreadablePacks, out IReadOnlyList<string> TemporaryFiles, out IReadOnlyList<uint> RestorablePoints)

Parameters

StoreId Guid
DatabaseId Guid
Points IReadOnlyList<BackupPointSummary>
Chains IReadOnlyList<BackupChainSummary>
UnreadablePacks IReadOnlyList<KeyValuePair<string, string>>
TemporaryFiles IReadOnlyList<string>
RestorablePoints IReadOnlyList<uint>

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BackupStoreListing?)

public bool Equals(BackupStoreListing? other)

Parameters

other BackupStoreListing

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupStoreListing?, BackupStoreListing?)

public static bool operator ==(BackupStoreListing? left, BackupStoreListing? right)

Parameters

left BackupStoreListing
right BackupStoreListing

Returns

bool

operator !=(BackupStoreListing?, BackupStoreListing?)

public static bool operator !=(BackupStoreListing? left, BackupStoreListing? right)

Parameters

left BackupStoreListing
right BackupStoreListing

Returns

bool