go_aya_alvm_adb

package module
v0.0.0-...-2939ef9 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 16 Imported by: 2 modules, 8 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-aya-alvm-adb

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEmptyDB

func CreateEmptyDB(dbdir *mfs.Directory) error

func MergeClose

func MergeClose(dbdir *mfs.Directory, batch *leveldb.Batch, logKey string) error

func ReadClose

func ReadClose(dbdir *mfs.Directory, rf ReadingFunc, logKey string) error

Types

type MFSStorage

type MFSStorage struct {
	storage.Storage
	// contains filtered or unexported fields
}

func NewMFSStorage

func NewMFSStorage(mdir *mfs.Directory, dbkey string) *MFSStorage

func (*MFSStorage) Close

func (ms *MFSStorage) Close() error

func (*MFSStorage) Create

func (ms *MFSStorage) Create(fd storage.FileDesc) (storage.Writer, error)

func (*MFSStorage) Flush

func (ms *MFSStorage) Flush() error

func (*MFSStorage) GetMeta

func (ms *MFSStorage) GetMeta() (storage.FileDesc, error)

func (*MFSStorage) List

func (ms *MFSStorage) List(ft storage.FileType) ([]storage.FileDesc, error)

func (*MFSStorage) Lock

func (ms *MFSStorage) Lock() (storage.Locker, error)

func (*MFSStorage) Log

func (ms *MFSStorage) Log(str string)

func (*MFSStorage) Open

func (ms *MFSStorage) Open(fd storage.FileDesc) (storage.Reader, error)

func (*MFSStorage) Remove

func (ms *MFSStorage) Remove(fd storage.FileDesc) error

func (*MFSStorage) Rename

func (ms *MFSStorage) Rename(oldfd, newfd storage.FileDesc) error

func (*MFSStorage) SetMeta

func (ms *MFSStorage) SetMeta(fd storage.FileDesc) error

type ReadingFunc

type ReadingFunc func(db *leveldb.DB) error

Jump to

Keyboard shortcuts

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