local

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Local

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

func New

func New(root string) *Local

func (*Local) Chdir added in v0.11.0

func (lfs *Local) Chdir(path string)

func (*Local) Get

func (lfs *Local) Get(ctx context.Context, path string) ([]byte, error)

func (*Local) Pivot added in v0.11.0

func (lfs *Local) Pivot(path string) (string, error)

func (*Local) ReadDir

func (lfs *Local) ReadDir(ctx context.Context, path string) ([]string, error)

func (*Local) Stat

func (lfs *Local) Stat(ctx context.Context, path string) (*fs.FileInfo, error)

Jump to

Keyboard shortcuts

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