MCPcopy Index your code
hub / github.com/coder/envbox / MkdirAll

Function MkdirAll

integration/integrationtest/os.go:29–36  ·  view source on GitHub ↗
(t testing.TB, elem ...string)

Source from the content-addressed store, hash-verified

27}
28
29func MkdirAll(t testing.TB, elem ...string) string {
30 t.Helper()
31
32 path := filepath.Join(elem...)
33 err := os.MkdirAll(path, 0o777)
34 require.NoError(t, err)
35 return path
36}
37
38func WriteFile(t *testing.T, path, contents string) {
39 t.Helper()

Callers 1

TestDockerFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestDockerFunction · 0.74