index

package
Version: v0.3.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsIndexCorruption

func IsIndexCorruption(err error) bool

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

Types

type Indexer

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL