MCPcopy Create free account
hub / github.com/google/pprof / IsTerminal

Method IsTerminal

internal/proftest/proftest.go:133–135  ·  view source on GitHub ↗

IsTerminal indicates if the UI is an interactive terminal.

()

Source from the content-addressed store, hash-verified

131
132// IsTerminal indicates if the UI is an interactive terminal.
133func (ui *TestUI) IsTerminal() bool {
134 return false
135}
136
137// WantBrowser indicates whether a browser should be opened with the -http option.
138func (ui *TestUI) WantBrowser() bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected