dbfs

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection interface {
	*path.Remote
	Database() string
}

type FS added in v0.8.0

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

func New added in v0.8.0

func New(abs path.Local, createTables bool, flags ...sqlite.OpenFlags) (*FS, error)

func NewInMemory added in v0.8.0

func NewInMemory(abs path.Absolute, flags ...sqlite.OpenFlags) (*FS, error)

func (*FS) Abs added in v0.8.0

func (m *FS) Abs(r path.Relative) path.Absolute

func (*FS) Close added in v0.8.0

func (f *FS) Close() error

func (*FS) Delete added in v0.8.0

func (fsys *FS) Delete(p path.Relative, recursive bool) (err error)

func (*FS) Exists added in v0.8.0

func (fsys *FS) Exists(p path.Relative) bool

func (*FS) ModTime added in v0.8.0

func (fsys *FS) ModTime(p path.Relative) (t time.Time, err error)

func (*FS) Reader added in v0.8.0

func (fsys *FS) Reader(p path.Relative) (io.ReadCloser, error)

func (*FS) Size added in v0.8.0

func (fsys *FS) Size(file path.Relative) int64

func (*FS) Write added in v0.8.0

func (fsys *FS) Write(p path.Relative, rd io.ReadCloser, inbetween bool) (err error)

Jump to

Keyboard shortcuts

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