sqlitefs

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const MaxMemoryBackedSize = 256 * 1024 * 1024

Variables

View Source
var ErrNotImplemented = errors.New("not implemented")

Functions

This section is empty.

Types

type FS

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

func New

func New(url string) (*FS, error)

func NewCursor

func NewCursor(conn *sqlite.Conn) (*FS, error)

func (*FS) Chmod

func (fs *FS) Chmod(name string, mode os.FileMode) error

func (*FS) Chtimes

func (fs *FS) Chtimes(name string, atime time.Time, mtime time.Time) error

func (*FS) Close

func (fs *FS) Close() error

func (*FS) Create

func (fs *FS) Create(name string) (afero.File, error)

func (*FS) Mkdir

func (fs *FS) Mkdir(name string, perm os.FileMode) error

func (*FS) MkdirAll

func (fs *FS) MkdirAll(p string, perm os.FileMode) error

func (*FS) Name

func (fs *FS) Name() string

func (*FS) Open

func (fs *FS) Open(name string) (afero.File, error)

func (*FS) OpenFile

func (fs *FS) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error)

func (*FS) Remove

func (fs *FS) Remove(name string) error

func (*FS) RemoveAll

func (fs *FS) RemoveAll(path string) error

func (*FS) Rename

func (fs *FS) Rename(oldname, newname string) error

func (*FS) Stat

func (fs *FS) Stat(name string) (os.FileInfo, error)

type Flusher

type Flusher interface {
	Flush() error
}

type Info

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

func (*Info) IsDir

func (i *Info) IsDir() bool

func (*Info) ModTime

func (i *Info) ModTime() time.Time

func (*Info) Mode

func (i *Info) Mode() os.FileMode

func (*Info) Name

func (i *Info) Name() string

func (*Info) Size

func (i *Info) Size() int64

func (*Info) Sys

func (i *Info) Sys() interface{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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