local

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindWrglDir

func FindWrglDir() (string, error)

Types

type RepoDir

type RepoDir struct {
	FullPath string
	// contains filtered or unexported fields
}

func NewRepoDir

func NewRepoDir(wrglDir string, badgerLog string) (*RepoDir, error)

func (*RepoDir) Close

func (d *RepoDir) Close() error

func (*RepoDir) Exist

func (d *RepoDir) Exist() bool

func (*RepoDir) Init

func (d *RepoDir) Init() error

func (*RepoDir) KVPath

func (d *RepoDir) KVPath() string

func (*RepoDir) OpenObjectsStore

func (d *RepoDir) OpenObjectsStore() (objects.Store, error)

func (*RepoDir) OpenObjectsTransaction

func (d *RepoDir) OpenObjectsTransaction() (*objbadger.Txn, error)

func (*RepoDir) OpenRefStore

func (d *RepoDir) OpenRefStore() ref.Store

func (*RepoDir) OpenUMAStore added in v0.13.0

func (d *RepoDir) OpenUMAStore() *umasql.Store

func (*RepoDir) Watcher

func (d *RepoDir) Watcher() (*fsnotify.Watcher, error)

Watcher returns a watcher that watch the repository directory

Jump to

Keyboard shortcuts

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