Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
370
func
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
TestCompleteAgentFilename
Function · 0.70
TestCompleteAliasIncludesYAMLFiles
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected