Documentation
¶
Overview ¶
Package filesystem contains the filesystem interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exists ¶ added in v0.2.0
Checks if a file exists at the given path using the filesystem interface.
func FileSystem ¶
Get the filesystem interface from the viper configuration. If the filesystem interface is not set, the default filesystem interface is returned.
func SetFileSystem ¶ added in v0.2.0
Set the filesystem interface in the viper configuration. This is useful for testing purposes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.