Versions in this module Expand all Collapse all v0 v0.5.1 Jan 24, 2023 Changes in this version + var GOROOT = runtime.GOROOT() + func ReadFile(fs Opener, path string) ([]byte, error) + type BindMode int + const BindAfter + const BindBefore + const BindReplace + type FileSystem interface + Lstat func(path string) (os.FileInfo, error) + ReadDir func(path string) ([]os.FileInfo, error) + RootType func(path string) RootType + Stat func(path string) (os.FileInfo, error) + String func() string + func FromFS(fsys fs.FS) FileSystem + func OS(root string) FileSystem + type NameSpace map[string][]mountedFS + func NewNameSpace() NameSpace + func (NameSpace) String() string + func (ns NameSpace) Bind(old string, newfs FileSystem, new string, mode BindMode) + func (ns NameSpace) Fprint(w io.Writer) + func (ns NameSpace) Lstat(path string) (os.FileInfo, error) + func (ns NameSpace) Open(path string) (ReadSeekCloser, error) + func (ns NameSpace) ReadDir(path string) ([]os.FileInfo, error) + func (ns NameSpace) RootType(path string) RootType + func (ns NameSpace) Stat(path string) (os.FileInfo, error) + type Opener interface + Open func(name string) (ReadSeekCloser, error) + type ReadSeekCloser interface + type RootType string + const RootTypeGoPath + const RootTypeGoRoot