memfs

package
v0.0.0-...-09f4b59 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLoading = errors.New("cannot load files in memory")
)

Functions

This section is empty.

Types

type MemFS

type MemFS interface {
	Open(name string) (file http.File, err error)
	Watch(ctx context.Context, wg *sync.WaitGroup)
}

func New

func New(rootPath string, oldToNew map[string]string, logger logging.Logger) (fs MemFS, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL