Table of Contents

Class ArchiveListResult

Namespace
Archiver.Core.Models
Assembly
Archiver.Core.dll

Result of listing an archive's entries. Never throws to callers — a failure to list (corrupted archive, tar.exe missing, unsupported format) is reported via Success/ErrorMessage, matching every other IArchiveService/ITarService method's "never throw" convention.

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

Properties

Entries

public IReadOnlyList<ArchiveEntryInfo> Entries { get; init; }

Property Value

IReadOnlyList<ArchiveEntryInfo>

ErrorMessage

public string? ErrorMessage { get; init; }

Property Value

string

ErrorText

The error as a code a frontend renders in the user's language (T-F209).

public CoreText? ErrorText { get; init; }

Property Value

CoreText

Success

public bool Success { get; init; }

Property Value

bool