bitcask: Index | Files

package index

import ""


Package Files

codec_index.go index.go

func IsIndexCorruption Uses

func IsIndexCorruption(err error) bool

IsIndexCorruption returns a boolean indicating whether the error is known to report a corruption data issue

type Indexer Uses

type Indexer interface {
    Load(path string, maxkeySize uint32) (art.Tree, bool, error)
    Save(t art.Tree, path string) error

Indexer is an interface for loading and saving the index (an Adaptive Radix Tree)

func NewIndexer Uses

func NewIndexer() Indexer

NewIndexer returns an instance of the default `Indexer` implemtnation which perists the index (an Adaptive Radix Tree) as a binary blob on file

Package index imports 6 packages (graph) and is imported by 1 packages. Updated 2020-06-18. Refresh now. Tools for package owners.