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
FileNamestringFile name (no directory).
Sha256stringLower-case hex SHA-256 of the file contents.
LengthlongFile length in bytes.
Properties
FileName
File name (no directory).
public string FileName { get; init; }
Property Value
Length
File length in bytes.
public long Length { get; init; }
Property Value
Sha256
Lower-case hex SHA-256 of the file contents.
public string Sha256 { get; init; }