idx

package
v0.0.0-...-2206af0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RowsToRead = 1024
)

Variables

This section is empty.

Functions

func IdxFileEntry

func IdxFileEntry(bytes []byte) (key types.NeedleId, offset types.Offset, size types.Size)

func WalkIndexFile

func WalkIndexFile(r io.ReaderAt, fn func(key types.NeedleId, offset types.Offset, size types.Size) error) error

walks through the index file, calls fn function with each key, offset, size stops with the error returned by the fn function

Types

This section is empty.

Jump to

Keyboard shortcuts

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