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
FoundboolWhether 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).
RowslongThe rows rewritten from the step cache.
RangesintThe ranges finished, from the front of the list given.
CancelledboolWhether 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
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
Ranges
The ranges finished, from the front of the list given.
public int Ranges { get; init; }
Property Value
Rows
The rows rewritten from the step cache.
public long Rows { get; init; }