pluginfs

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(module *gomod.Module, options ...Option) (fs.FS, error)

func WithFSCache

func WithFSCache(cache *fscache.Cache) func(o *option)

WithFSCache uses a custom mod cache instead of the default

Types

type FS

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

func (*FS) Open

func (f *FS) Open(name string) (fs.File, error)

type Option

type Option = func(o *option)

Jump to

Keyboard shortcuts

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