Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromMap ¶
FromMap creates a new vfs.FS from a map of paths to file contents. Those file contents may be strings, byte slices, or [fstest.MapFile]s.
The paths must be normalized absolute paths according to the tspath package, without trailing directory separators. The paths must be all POSIX-style or all Windows-style, but not both.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.