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

Method SetIsTerminal

cli/streams/out.go:73–75  ·  view source on GitHub ↗

SetIsTerminal overrides whether a terminal is connected. It is used to override this property in unit-tests, and should not be depended on for other purposes.

(isTerminal bool)

Source from the content-addressed store, hash-verified

71// override this property in unit-tests, and should not be depended on for
72// other purposes.
73func (o *Out) SetIsTerminal(isTerminal bool) {
74 o.cs.setIsTerminal(isTerminal)
75}

Callers

nothing calls this directly

Calls 1

setIsTerminalMethod · 0.80

Tested by

no test coverage detected