Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Files ¶
Files is the collection of files to init a MapFS file system with. It maps the file's full path to its File descriptor. The map only contains files, directories will be created implicitly.
type MapFS ¶
type MapFS map[string]*fsEntry
MapFS is a vfs.FileSystem implementation.
func (MapFS) Open ¶
func (fs MapFS) Open(p string) (vfs.ReadSeekCloser, error)
Open implements vfs.Opener.
func (MapFS) ReadDir ¶
ReadDir reads the directory named by path and returns a list of sorted directory entries.
Click to show internal directories.
Click to hide internal directories.