local

package
v0.125.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: AGPL-3.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) 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) Join added in v0.65.0

func (lfs *Local) Join(elem ...string) string

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