Documentation ¶
Index ¶
- Constants
- type LevelDBStore
- func (store *LevelDBStore) BeginTransaction(ctx context.Context) (context.Context, error)
- func (store *LevelDBStore) CommitTransaction(ctx context.Context) error
- func (store *LevelDBStore) DeleteEntry(ctx context.Context, fullpath filer2.FullPath) (err error)
- func (store *LevelDBStore) FindEntry(ctx context.Context, fullpath filer2.FullPath) (entry *filer2.Entry, err error)
- func (store *LevelDBStore) GetName() string
- func (store *LevelDBStore) Initialize(configuration weed_util.Configuration) (err error)
- func (store *LevelDBStore) InsertEntry(ctx context.Context, entry *filer2.Entry) (err error)
- func (store *LevelDBStore) ListDirectoryEntries(ctx context.Context, fullpath filer2.FullPath, startFileName string, ...) (entries []*filer2.Entry, err error)
- func (store *LevelDBStore) RollbackTransaction(ctx context.Context) error
- func (store *LevelDBStore) UpdateEntry(ctx context.Context, entry *filer2.Entry) (err error)
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 (*LevelDBStore) CommitTransaction ¶
func (store *LevelDBStore) CommitTransaction(ctx context.Context) error
func (*LevelDBStore) DeleteEntry ¶
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 (*LevelDBStore) ListDirectoryEntries ¶
func (*LevelDBStore) RollbackTransaction ¶
func (store *LevelDBStore) RollbackTransaction(ctx context.Context) error
func (*LevelDBStore) UpdateEntry ¶
Click to show internal directories.
Click to hide internal directories.