leveldb

package
v0.0.0-...-d8c34b0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DIR_FILE_SEPARATOR = byte(0x00)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LevelDBStore

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

func (*LevelDBStore) BeginTransaction

func (store *LevelDBStore) BeginTransaction(ctx context.Context) (context.Context, error)

func (*LevelDBStore) CommitTransaction

func (store *LevelDBStore) CommitTransaction(ctx context.Context) error

func (*LevelDBStore) DeleteEntry

func (store *LevelDBStore) DeleteEntry(ctx context.Context, fullpath filer2.FullPath) (err error)

func (*LevelDBStore) FindEntry

func (store *LevelDBStore) FindEntry(ctx context.Context, fullpath filer2.FullPath) (entry *filer2.Entry, err error)

func (*LevelDBStore) GetName

func (store *LevelDBStore) GetName() string

func (*LevelDBStore) Initialize

func (store *LevelDBStore) Initialize(configuration weed_util.Configuration) (err error)

func (*LevelDBStore) InsertEntry

func (store *LevelDBStore) InsertEntry(ctx context.Context, entry *filer2.Entry) (err error)

func (*LevelDBStore) ListDirectoryEntries

func (store *LevelDBStore) ListDirectoryEntries(ctx context.Context, fullpath filer2.FullPath, startFileName string, inclusive bool,
	limit int) (entries []*filer2.Entry, err error)

func (*LevelDBStore) RollbackTransaction

func (store *LevelDBStore) RollbackTransaction(ctx context.Context) error

func (*LevelDBStore) UpdateEntry

func (store *LevelDBStore) UpdateEntry(ctx context.Context, entry *filer2.Entry) (err error)

Jump to

Keyboard shortcuts

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