Documentation
¶
Overview ¶
Package testhelpers contains file system generators for use in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FSWithFiles ¶
FSWithFiles returns an FS with the given files contents generated inside it. The contents are trimmed and a newline appended for convenient comparisons.
func FromOSToFS ¶ added in v0.1.4
FromOSToFS returns the FS and FS path for the given OS path. If using Windows, the os.FS used will target the osPath's volume (e.g. C:\) before converting.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.