local

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: MPL-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 Local

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

func New

func New(root string) *Local

func (*Local) Get

func (lfs *Local) Get(ctx context.Context, path string) ([]byte, 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