Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemFS ¶
type MemFS struct {
// contains filtered or unexported fields
}
MemFS represents a file system in memory.
func NewSingleFileFS ¶
NewSingleFileFS creates a file system that only contains a single file.
func (*MemFS) Join ¶
Join joins any number of path elements into a single path, separating them with slashes. Empty elements are ignored. The result is Cleaned. However, if the argument list is empty or all its elements are empty, Join returns an empty string.
func (*MemFS) ReadDir ¶
ReadDir reads the directory named by dirname and returns a list of directory entries sorted by filename.
Click to show internal directories.
Click to hide internal directories.