Module default_index

Source
Expand description

An on-disk index of the commits in a repository.

Implements an index of the commits in a repository that conforms to the trains in the index module. The index is stored on local disk and contains an entry for every commit in the repository. See DefaultReadonlyIndex and DefaultMutableIndex.

Modules§

revset_engine

Structs§

CompositeIndex
CompositeIndex provides an index of both commit IDs and change IDs.
DefaultIndexStore
DefaultIndexStoreInitError
Error that may occur during DefaultIndexStore initialization.
DefaultMutableIndex
In-memory mutable records for the on-disk commit index backend.
DefaultReadonlyIndex
Commit index backend which stores data on local disk.
IndexEntry
IndexLevelStats
IndexPosition
Global index position.
IndexStats

Enums§

DefaultIndexStoreError
ReadonlyIndexLoadError
Error while loading index segment file.

Traits§

AsCompositeIndex
Abstraction over owned and borrowed types that can be cheaply converted to a CompositeIndex reference.