Versions in this module Expand all Collapse all v1 v1.0.0 Mar 15, 2024 Changes in this version + type FS struct + OnOpen func(name string) (fs.File, error) + func (fsys *FS) Open(name string) (f fs.File, err error) + type File struct + OnClose func() error + OnRead func(b []byte) (n int, err error) + OnStat func() (fi fs.FileInfo, err error) + func (f *File) Close() (err error) + func (f *File) Read(b []byte) (n int, err error) + func (f *File) Stat() (fi fs.FileInfo, err error) + type GlobFS struct + OnGlob func(pattern string) (paths []string, err error) + OnOpen func(name string) (f fs.File, err error) + func (fsys *GlobFS) Glob(pattern string) (paths []string, err error) + func (fsys *GlobFS) Open(name string) (f fs.File, err error) + type StatFS struct + OnOpen func(name string) (f fs.File, err error) + OnStat func(name string) (fi fs.FileInfo, err error) + func (fsys *StatFS) Open(name string) (f fs.File, err error) + func (fsys *StatFS) Stat(name string) (fi fs.FileInfo, err error)