boltstore

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltStore

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

func NewBoltStore

func NewBoltStore(boltdb *bolt.DB) (*BoltStore, error)

func (*BoltStore) AddUploadInfos

func (bs *BoltStore) AddUploadInfos(userID uint64, tmpPath, filePath string, info *db.FileInfo) error

func (*BoltStore) DelInfos

func (bs *BoltStore) DelInfos(userID uint64, itemPath string, isDir bool) error

func (*BoltStore) DelUploadingInfos

func (bs *BoltStore) DelUploadingInfos(userID uint64, uploadPath string) error

func (*BoltStore) MoveInfos

func (bs *BoltStore) MoveInfos(userID uint64, oldPath, newPath string, isDir bool) error

func (*BoltStore) MoveUploadingInfos

func (bs *BoltStore) MoveUploadingInfos(userID uint64, uploadPath, itemPath string) error

Jump to

Keyboard shortcuts

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