Table of Contents

Public classSealed IndexFormatInventory

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

Describes the on-disk format state of a LeanCorpus index directory.

public sealed record IndexFormatInventory : IEquatable<IndexFormatInventory>
IndexFormatInventory

Properties

Public property CommitGeneration

Gets the latest commit generation, or null when no readable commit was found.

Public property ContentToken

Gets the latest commit content token, or null when no readable commit was found.

Public property DirectoryPath

Gets the inspected directory path.

Public property HasUnsupportedFutureFormat

Gets a value indicating whether any file uses a future unsupported codec version.

Public property Issues

Gets issues detected while inspecting commit and segment metadata.

Public property OrphanFiles

Gets recognised files that are not referenced by the latest readable commit.

Public property SegmentIds

Gets segment IDs referenced by the latest readable commit.

Public property Segments

Gets inspected segment inventories.