IsTerminal returns whether the UI is known to be tied to an interactive terminal (as opposed to being redirected to a file).
()
| 194 | // IsTerminal returns whether the UI is known to be tied to an |
| 195 | // interactive terminal (as opposed to being redirected to a file). |
| 196 | IsTerminal() bool |
| 197 | |
| 198 | // WantBrowser indicates whether a browser should be opened with the -http option. |
| 199 | WantBrowser() bool |
nothing calls this directly
no outgoing calls
no test coverage detected