webfs

package
v0.0.0-...-198801e Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JSXFactory = "m"

Functions

This section is empty.

Types

type FS

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

func New

func New(fs fs.FS) *FS

func (*FS) Open

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

func (*FS) Stat

func (wfs *FS) Stat(name string) (fs.FileInfo, error)

func (*FS) Transform

func (wfs *FS) Transform(suffix string, fn func(dst io.Writer, src io.Reader) error)

func (*FS) Watch

func (wfs *FS) Watch(name string, cfg *watchfs.Config) (*watchfs.Watch, error)

Jump to

Keyboard shortcuts

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