scopedlayer

package
v0.106.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScopedLayer

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

func New

func New(fs fs.FileSystem, scopedAtPath string) *ScopedLayer

func (*ScopedLayer) Get

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

func (*ScopedLayer) Join

func (sl *ScopedLayer) Join(elem ...string) string

func (*ScopedLayer) ReadDir

func (sl *ScopedLayer) ReadDir(ctx context.Context, path string) ([]string, error)

func (*ScopedLayer) Stat

func (sl *ScopedLayer) 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