ndb

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const NDB_DBVersion = 0
View Source
const NDB_HeaderMagic = 'R' | 'p'<<8 | 'm'<<16 | 'P'<<24
View Source
const NDB_SlotEntriesPerPage = 4096 / 16 /* 16 == unsafe.Sizeof(NDBSlotEntry) */

Variables

View Source
var ErrorInvalidNDB = xerrors.Errorf("invalid or unsupported NDB format")

Functions

This section is empty.

Types

type RpmNDB

type RpmNDB struct {
	// contains filtered or unexported fields
}

func Open

func Open(path string) (*RpmNDB, error)

func (*RpmNDB) Read

func (db *RpmNDB) Read() <-chan dbi.Entry

Jump to

Keyboard shortcuts

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