Documentation ¶
Overview ¶
Package file virtualizes file systems for mock testing.
Index ¶
Constants ¶
View Source
const LinuxRoot string = "/"
LinuxRoot is the root in Linux.
Variables ¶
View Source
var FS = os.DirFS(LinuxRoot) //nolint:gochecknoglobals
FS represents the file system in use. By default, it points to the actual file system, and can be modified to a virtual file system for testing.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.