MCPcopy Create free account
hub / github.com/docker/docker-agent / writeFile

Function writeFile

cmd/root/completion_test.go:370–373  ·  view source on GitHub ↗
(t *testing.T, dir, name string)

Source from the content-addressed store, hash-verified

368}
369
370func writeFile(t *testing.T, dir, name string) {
371 t.Helper()
372 require.NoError(t, os.WriteFile(filepath.Join(dir, name), nil, 0o644))
373}

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected