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

Method IsTerminal

internal/plugin/plugin.go:196–196  ·  view source on GitHub ↗

IsTerminal returns whether the UI is known to be tied to an interactive terminal (as opposed to being redirected to a file).

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Implementers 4

readlineUIpprof.go
TestUIinternal/proftest/proftest.go
stdUIinternal/driver/options.go
testUIbrowsertests/testutils.go

Calls

no outgoing calls

Tested by

no test coverage detected