Section navigation

Public classSealed CodecFileInventory

Namespace
Rowles.LeanCorpus.Index.Format
Assembly
Rowles.LeanCorpus.dll

Describes one index file and the codec version detected from its header.

public sealed record CodecFileInventory : IEquatable<CodecFileInventory>
Inheritance
CodecFileInventory
Implements

Public property ChecksumAlgorithm

Gets the canonical checksum algorithm, when the frame records one.

Public property ChecksumStatus

Gets whether an available checksum was verified successfully.

Public property CodecName

Gets the logical codec name.

Public property CompoundFileName

Gets the owning compound file name for a compound member.

Public property CurrentFormatVersion

Gets the current body-format version from the catalogue.

Public property CurrentVersion

Gets the current codec version supported by this build, or null when the file has no standard codec header.

Public property ErrorCode

Gets the structured frame error category, when inspection failed.

Public property Extension

Gets the file extension.

Public property FamilyId

Gets the stable catalogue family identifier, when recognised.

Public property FamilyName

Gets the human-readable catalogue family name, when recognised.

Public property FieldName

Gets the related field name, when known.

Public property FileName

Gets the file name relative to the index directory.

Public property FormatId

Gets the stable catalogue format identifier, when recognised.

Public property FormatVersion

Gets the detected body-format version, or null for versionless formats.

Public property FrameKind

Gets the detected frame kind.

Public property FrameVersion

Gets the detected frame version, or null for legacy and external framing.

Public property HasValidMagic

Gets a value indicating whether the file has the expected LeanCorpus codec magic.

Public property IsCompoundMember

Gets whether this inventory entry describes a compound member.

Public property IsCurrent

Gets a value indicating whether the file is already at the current codec version.

Public property IsKnownFormat

Gets whether the logical file resolved to a registered catalogue format.

Public property IsSupported

Gets a value indicating whether this build can read the detected version.

Public property Length

Gets the file length in bytes when requested.

Public property MagicStatus

Gets the explicit magic applicability and validity state.

Public property PhysicalFileName

Gets the physical file name, which is the compound container for a compound member.

Public property PhysicalLocation

Gets where the logical file is physically stored.

Public property SegmentId

Gets the related segment ID, when known.

Public property Version

Gets the detected on-disk codec version, or null when the file has no standard codec header.