MCPcopy Index your code
hub / github.com/docker/cli / Out

Struct Out

cli/streams/out.go:13–16  ·  view source on GitHub ↗

Out is an output stream to write normal program output. It implements an [io.Writer], with additional utilities for detecting whether a terminal is connected, getting the TTY size, and putting the terminal in raw mode.

Source from the content-addressed store, hash-verified

11// an [io.Writer], with additional utilities for detecting whether a terminal
12// is connected, getting the TTY size, and putting the terminal in raw mode.
13type Out struct {
14 out io.Writer
15 cs commonStream
16}
17
18// NewOut returns a new [Out] from an [io.Writer]. If out is an [*os.File],
19// a reference is kept to the file, and accessible through [Out.File].

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected