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

Function unmarshalResponse

cmd/compose/hooks_test.go:336–342  ·  view source on GitHub ↗
(t *testing.T, data []byte)

Source from the content-addressed store, hash-verified

334}
335
336func unmarshalResponse(t *testing.T, data []byte) hooks.Response {
337 t.Helper()
338 var msg hooks.Response
339 err := json.Unmarshal(data, &msg)
340 assert.NilError(t, err)
341 return msg
342}

Calls

no outgoing calls

Tested by

no test coverage detected