vfs

package
v0.0.0-...-1ecc285 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GOVFS

type GOVFS fstest.MapFS

GOVFS wrap fstest.MapFS to only add go source files force to path normalize to support both windows and unix-like OS

func New

func New() GOVFS

func (GOVFS) Add

func (fsys GOVFS) Add(rname, vname string) error

func (GOVFS) Open

func (fsys GOVFS) Open(name string) (fs.File, error)

Jump to

Keyboard shortcuts

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