Table of Contents

Class NcLuggageAmendResult

Namespace
Hi.SqliteUtils
Assembly
HiNc.dll

Internal Use Only. What Amend(string, string, DateTime, IReadOnlyList<(int Begin, int End)>, CancellationToken, NcLuggageArchiveOptions) answers: the rows it rewrote, the ranges it finished, whether it stopped on its token, and whether there was an archive to amend at all.

public sealed record NcLuggageAmendResult : IEquatable<NcLuggageAmendResult>
Inheritance
NcLuggageAmendResult
Implements
Inherited Members
Extension Methods

Constructors

NcLuggageAmendResult(bool, long, int, bool)

Internal Use Only. What Amend(string, string, DateTime, IReadOnlyList<(int Begin, int End)>, CancellationToken, NcLuggageArchiveOptions) answers: the rows it rewrote, the ranges it finished, whether it stopped on its token, and whether there was an archive to amend at all.

public NcLuggageAmendResult(bool Found, long Rows, int Ranges, bool Cancelled)

Parameters

Found bool

Whether a complete archive of the result lies at the path: false for no file, one this build cannot read, one whose copy never completed or another result's (nothing was written then).

Rows long

The rows rewritten from the step cache.

Ranges int

The ranges finished, from the front of the list given.

Cancelled bool

Whether the token stopped it between two ranges; the ranges not finished are the caller's to keep.

Properties

Cancelled

Whether the token stopped it between two ranges; the ranges not finished are the caller's to keep.

public bool Cancelled { get; init; }

Property Value

bool

Found

Whether a complete archive of the result lies at the path: false for no file, one this build cannot read, one whose copy never completed or another result's (nothing was written then).

public bool Found { get; init; }

Property Value

bool

Ranges

The ranges finished, from the front of the list given.

public int Ranges { get; init; }

Property Value

int

Rows

The rows rewritten from the step cache.

public long Rows { get; init; }

Property Value

long