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

Method IsTerminal

cli/streams/in.go:50–52  ·  view source on GitHub ↗

IsTerminal returns whether this stream is connected to a terminal.

()

Source from the content-addressed store, hash-verified

48
49// IsTerminal returns whether this stream is connected to a terminal.
50func (i *In) IsTerminal() bool {
51 return i.cs.isTerminal()
52}
53
54// SetRawTerminal sets raw mode on the input terminal. It is a no-op if In
55// is not a TTY, or if the "NORAW" environment variable is set to a non-empty

Callers 15

stdioAttributesFunction · 0.45
copyProgressFunction · 0.45
newCopyCommandFunction · 0.45
runExportFunction · 0.45
RunStartFunction · 0.45
RunAttachFunction · 0.45
interactiveExecFunction · 0.45
runContainerFunction · 0.45
loginUserFunction · 0.45
printImageTreeFunction · 0.45
runSaveFunction · 0.45
runLoadFunction · 0.45

Calls 1

isTerminalMethod · 0.80

Tested by

no test coverage detected