MCPcopy Create free account
hub / github.com/docker/compose / Write

Method Write

pkg/compose/container.go:51–53  ·  view source on GitHub ↗

Write implement io.WriteCloser

(p []byte)

Source from the content-addressed store, hash-verified

49
50// Write implement io.WriteCloser
51func (c ContainerStdin) Write(p []byte) (n int, err error) {
52 return c.Conn.Write(p)
53}
54
55// Close implement io.WriteCloser
56func (c ContainerStdin) Close() error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected