tutil

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(t *testing.T, src, dest string) func()

func CreateBaseDir

func CreateBaseDir(t *testing.T) (home, config, data, state string)

func CreateDirs

func CreateDirs(t *testing.T, dirs ...string)

func ReadToml

func ReadToml(t *testing.T, path string) map[string]interface{}

func SetDirEnv

func SetDirEnv(t *testing.T, home string)

func WriteFile

func WriteFile(t *testing.T, path string, data []byte, perm fs.FileMode)

func WriteToml

func WriteToml(t *testing.T, path string, data map[string]interface{}) func()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL