Documentation ¶
Overview ¶
Package memoryfs provides a memory based virtual filesystem implementation. The complete filesystem structure is kept in memory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() vfs.FileSystem
Types ¶
type DirectoryEntries ¶
type DirectoryEntries map[string]*fileData
func (DirectoryEntries) Add ¶
func (m DirectoryEntries) Add(name string, f *fileData)
func (DirectoryEntries) Files ¶
func (m DirectoryEntries) Files() (files []os.FileInfo)
func (DirectoryEntries) Len ¶
func (m DirectoryEntries) Len() int
func (DirectoryEntries) Names ¶
func (m DirectoryEntries) Names() (names []string)
func (DirectoryEntries) Remove ¶
func (m DirectoryEntries) Remove(name string)
Click to show internal directories.
Click to hide internal directories.