Documentation ¶
Index ¶
- func Create(name string) (afero.File, error)
- func Exists(path string) (bool, error)
- func GetFs() afero.Fs
- func MkdirAllPath(path string) error
- func ReadFile(filename string) ([]byte, error)
- func SetMemFs()
- func SetOsFs()
- func WithTestFs(block func())
- func WithTestFsValue(block func() interface{}) interface{}
- func WriteFile(filename string, data []byte, perm os.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MkdirAllPath ¶ added in v0.5.0
func WithTestFs ¶
func WithTestFs(block func())
func WithTestFsValue ¶
func WithTestFsValue(block func() interface{}) interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.