MCPcopy Create free account
hub / github.com/cli/cli / SetStdoutTTY

Method SetStdoutTTY

pkg/iostreams/iostreams.go:177–180  ·  view source on GitHub ↗
(isTTY bool)

Source from the content-addressed store, hash-verified

175}
176
177func (s *IOStreams) SetStdoutTTY(isTTY bool) {
178 s.stdoutTTYOverride = true
179 s.stdoutIsTTY = isTTY
180}
181
182func (s *IOStreams) IsStdoutTTY() bool {
183 if s.stdoutTTYOverride {

Callers 15

TestFunction · 0.95
Test_exportFormat_WriteFunction · 0.80
TestDeleteRunFunction · 0.80
TestListRunFunction · 0.80
TestViewRunFunction · 0.80
TestListRunFunction · 0.80
TestNewCmdCommentFunction · 0.80
TestCommentRunFunction · 0.80
TestNewCmdCreateFunction · 0.80
TestCreateRunFunction · 0.80
TestNewCmdEditFunction · 0.80

Calls

no outgoing calls

Tested by 15

TestFunction · 0.76
Test_exportFormat_WriteFunction · 0.64
TestDeleteRunFunction · 0.64
TestListRunFunction · 0.64
TestViewRunFunction · 0.64
TestListRunFunction · 0.64
TestNewCmdCommentFunction · 0.64
TestCommentRunFunction · 0.64
TestNewCmdCreateFunction · 0.64
TestCreateRunFunction · 0.64
TestNewCmdEditFunction · 0.64