Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
172
func
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
}
Callers
4
TestHTTPProxySocketEndpoint_UnixSocketExists
Function · 0.85
TestHTTPProxySocketEndpoint_UnixSocketMissing
Function · 0.85
TestProxyTransport_NilWhenSocketMissing
Function · 0.85
TestProxyTransport_RoutesThroughDockerDesktop
Function · 0.85
Calls
2
Create
Method · 0.65
Close
Method · 0.65
Tested by
no test coverage detected