Documentation ¶
Overview ¶
Package execroot provides execroot for test.
Index ¶
- func AddDirs(t *testing.T, execRoot string, dirs []string)
- func AddFileWithContent(t *testing.T, path string, content []byte)
- func AddFiles(t *testing.T, execRoot string, files []string)
- func AddFilesWithContent(t *testing.T, execRoot string, files map[string][]byte)
- func Setup(t *testing.T, files []string) (string, func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFileWithContent ¶
AddFileWithContent creates the given file under the given exec root with its respective content.
func AddFilesWithContent ¶
AddFilesWithContent creates the given files under the given exec root with their respective content.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.