s3

package
v2.0.0-...-10e4721 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Dir string
	// contains filtered or unexported fields
}

func (*Driver) Append

func (driver *Driver) Append(path string, content any) error

func (*Driver) CopyDir

func (driver *Driver) CopyDir(src, dest string) error

func (*Driver) CopyFile

func (driver *Driver) CopyFile(src, dest string) error

func (*Driver) GetMetadata

func (driver *Driver) GetMetadata(path string) (*lib.Metadata, error)

func (*Driver) Init

func (driver *Driver) Init(input string) error

func (*Driver) IsDir

func (driver *Driver) IsDir(path string) bool

func (*Driver) IsDirExists

func (driver *Driver) IsDirExists(path string) bool

func (*Driver) IsFileExists

func (driver *Driver) IsFileExists(path string) bool

func (*Driver) List

func (driver *Driver) List(path string, recursive ...bool) ([]lib.FileInfo, error)

func (*Driver) Mkdir

func (driver *Driver) Mkdir(path string, perm ...fs.FileMode) error

func (*Driver) MkdirAll

func (driver *Driver) MkdirAll(path string, perm ...fs.FileMode) error

func (*Driver) Name

func (driver *Driver) Name() string

func (*Driver) ReadAll

func (driver *Driver) ReadAll(path string) ([]byte, error)

func (*Driver) ReadAllString

func (driver *Driver) ReadAllString(path string) (string, error)

func (*Driver) Remove

func (driver *Driver) Remove(path string) error

func (*Driver) RemoveAll

func (driver *Driver) RemoveAll(path string) error

func (*Driver) Search

func (driver *Driver) Search(match string) ([]lib.FileInfo, error)

func (*Driver) SetMetadata

func (driver *Driver) SetMetadata(path string, meta lib.Metadata) error

func (*Driver) SetName

func (driver *Driver) SetName(name string)

func (*Driver) SetWorkingDir

func (driver *Driver) SetWorkingDir(path string) error

func (*Driver) Stat

func (driver *Driver) Stat(path string) (lib.FileInfo, error)

func (*Driver) Touch

func (driver *Driver) Touch(path string) error

func (*Driver) Type

func (driver *Driver) Type() string

func (*Driver) WorkingDir

func (driver *Driver) WorkingDir() string

func (*Driver) Write

func (driver *Driver) Write(path string, content any) error

func (*Driver) WriteJson

func (driver *Driver) WriteJson(path string, content any) error

Jump to

Keyboard shortcuts

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