boltfs

package
v0.0.0-...-afb03a6 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltFS

type BoltFS struct {
	*bbolt.DB
	// contains filtered or unexported fields
}

func NewBoltFS

func NewBoltFS(db *bbolt.DB, bucketKey []byte) *BoltFS

func (*BoltFS) Open

func (f *BoltFS) Open(path string) (fs.File, error)

type ByteFile

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

func (*ByteFile) Close

func (bf *ByteFile) Close() error

func (*ByteFile) IsDir

func (bf *ByteFile) IsDir() bool

func (*ByteFile) ModTime

func (bf *ByteFile) ModTime() time.Time

func (*ByteFile) Mode

func (bf *ByteFile) Mode() fs.FileMode

func (*ByteFile) Name

func (bf *ByteFile) Name() string

func (*ByteFile) Read

func (bf *ByteFile) Read(data []byte) (int, error)

func (*ByteFile) Seek

func (bf *ByteFile) Seek(offset int64, whence int) (int64, error)

func (*ByteFile) Size

func (bf *ByteFile) Size() int64

func (*ByteFile) Stat

func (bf *ByteFile) Stat() (fs.FileInfo, error)

func (*ByteFile) Sys

func (bf *ByteFile) Sys() any

Jump to

Keyboard shortcuts

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