MCPcopy
hub / github.com/docker/compose / mustTouch

Function mustTouch

internal/desktop/proxy_test.go:172–177  ·  view source on GitHub ↗
(t *testing.T, path string)

Source from the content-addressed store, hash-verified

170}
171
172func mustTouch(t *testing.T, path string) {
173 t.Helper()
174 f, err := os.Create(path)
175 assert.NilError(t, err)
176 assert.NilError(t, f.Close())
177}

Calls 2

CreateMethod · 0.65
CloseMethod · 0.65

Tested by

no test coverage detected