Versions in this module Expand all Collapse all v1 v1.4.4 Oct 24, 2022 Changes in this version + type FS struct + func CloneFS(base fs.FS) *FS + func New() *FS + func (m *FS) Glob(pattern string) ([]string, error) + func (m *FS) MkdirAll(path string, perm fs.FileMode) error + func (m *FS) Open(name string) (fs.File, error) + func (m *FS) ReadDir(name string) ([]fs.DirEntry, error) + func (m *FS) ReadFile(name string) ([]byte, error) + func (m *FS) Remove(path string) error + func (m *FS) RemoveAll(path string) error + func (m *FS) Stat(name string) (fs.FileInfo, error) + func (m *FS) Sub(dir string) (fs.FS, error) + func (m *FS) WriteFile(path string, data []byte, perm fs.FileMode) error + func (m *FS) WriteLazyFile(path string, opener LazyOpener, perm fs.FileMode) error + type LazyOpener func() (io.Reader, error)