local

package
v1.6.5-rc28 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalFileSystem

type LocalFileSystem struct {
	Root string `env:""`
}

func (*LocalFileSystem) Delete

func (l *LocalFileSystem) Delete(key string) error

func (*LocalFileSystem) Init

func (l *LocalFileSystem) Init() error

func (*LocalFileSystem) Read

func (l *LocalFileSystem) Read(key string) ([]byte, error)

func (*LocalFileSystem) SetDefault

func (l *LocalFileSystem) SetDefault()

func (*LocalFileSystem) StatObject added in v1.4.6

func (l *LocalFileSystem) StatObject(key string) (*filesystem.ObjectMeta, error)

func (*LocalFileSystem) Upload

func (l *LocalFileSystem) Upload(key string, data []byte) error

Upload key full path with filename

Jump to

Keyboard shortcuts

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