scopedlayer

package
v0.117.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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