cachinglayer

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 CachingLayer

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

func Wrap

func Wrap(fs fs.FileSystem) (*CachingLayer, error)

func (*CachingLayer) Get

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

func (*CachingLayer) Join added in v0.65.0

func (cl *CachingLayer) Join(elem ...string) string

func (*CachingLayer) ReadDir

func (cl *CachingLayer) ReadDir(ctx context.Context, path string) ([]string, error)

func (*CachingLayer) Stat

func (cl *CachingLayer) 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