
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>
CodecFileInventory
CodecName
Gets the logical codec name.
CurrentVersion
Gets the current codec version supported by this build, or null when the file has no standard codec header.
Extension
Gets the file extension.
FieldName
Gets the related field name, when known.
FileName
Gets the file name relative to the index directory.
HasValidMagic
Gets a value indicating whether the file has the expected LeanCorpus codec magic.
IsCurrent
Gets a value indicating whether the file is already at the current codec version.
IsSupported
Gets a value indicating whether this build can read the detected version.
Length
Gets the file length in bytes when requested.
SegmentId
Gets the related segment ID, when known.
Version
Gets the detected on-disk codec version, or null when the file has no standard codec header.