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

Function marshalHookData

cmd/compose/hooks_test.go:329–334  ·  view source on GitHub ↗
(t *testing.T, data hooks.Request)

Source from the content-addressed store, hash-verified

327}
328
329func marshalHookData(t *testing.T, data hooks.Request) string {
330 t.Helper()
331 b, err := json.Marshal(data)
332 assert.NilError(t, err)
333 return string(b)
334}
335
336func unmarshalResponse(t *testing.T, data []byte) hooks.Response {
337 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected