idx

package
v0.0.0-...-5c6c1e7 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 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, startFrom uint64, 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