Table of Contents

Class HashEntry

Namespace
Archiver.Core.Services
Assembly
Archiver.Core.dll

Per-file hash result. Error is set instead of Hash when the file couldn't be read, or when it was skipped (e.g. a folder in a multi-item selection).

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

Constructors

HashEntry(string, string?, string?)

Per-file hash result. Error is set instead of Hash when the file couldn't be read, or when it was skipped (e.g. a folder in a multi-item selection).

public HashEntry(string SourcePath, string? Hash, string? Error)

Parameters

SourcePath string
Hash string
Error string

Properties

Error

public string? Error { 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

Hash

public string? Hash { get; init; }

Property Value

string

SourcePath

public string SourcePath { get; init; }

Property Value

string