noderepo

package
v0.22.119 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: ISC Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pebble

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

func NewPebble

func NewPebble(path string) (*Pebble, error)

func (*Pebble) AppendChanges

func (repo *Pebble) AppendChanges(changes []change.Change) error

func (*Pebble) Close

func (repo *Pebble) Close() error

func (*Pebble) DropChanges

func (repo *Pebble) DropChanges(name []byte, finalHeight int32) error

func (*Pebble) Flush

func (repo *Pebble) Flush() error

func (*Pebble) IterateAll

func (repo *Pebble) IterateAll(predicate func(name []byte) bool)

func (*Pebble) IterateChildren

func (repo *Pebble) IterateChildren(name []byte, f func(changes []change.Change) bool) error

func (*Pebble) LoadChanges

func (repo *Pebble) LoadChanges(name []byte) ([]change.Change, error)

Jump to

Keyboard shortcuts

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