Table of Contents

Class SourceFile

Namespace
DotFly.Core.Checkpoints
Assembly
DotFly.Core.dll

A source file reference with its hash.

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

Constructors

SourceFile(string, string, long)

A source file reference with its hash.

public SourceFile(string FileName, string Sha256, long Length)

Parameters

FileName string

File name (no directory).

Sha256 string

Lower-case hex SHA-256 of the file contents.

Length long

File length in bytes.

Properties

FileName

File name (no directory).

public string FileName { get; init; }

Property Value

string

Length

File length in bytes.

public long Length { get; init; }

Property Value

long

Sha256

Lower-case hex SHA-256 of the file contents.

public string Sha256 { get; init; }

Property Value

string