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

Function newStdWriter

pkg/compose/logs_test.go:82–87  ·  view source on GitHub ↗
(w io.Writer, streamType stdcopy.StdType)

Source from the content-addressed store, hash-verified

80}
81
82func newStdWriter(w io.Writer, streamType stdcopy.StdType) io.Writer {
83 return &stdWriter{
84 Writer: w,
85 prefix: byte(streamType),
86 }
87}
88
89func TestComposeService_Logs_Demux(t *testing.T) {
90 mockCtrl := gomock.NewController(t)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected