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

Method ReadLine

driver/driver.go:209–209  ·  view source on GitHub ↗

ReadLine returns a line of text (a command) read from the user. prompt is printed before reading the command.

(prompt string)

Source from the content-addressed store, hash-verified

207 // ReadLine returns a line of text (a command) read from the user.
208 // prompt is printed before reading the command.
209 ReadLine(prompt string) (string, error)
210
211 // Print shows a message to the user.
212 // It formats the text as fmt.Print would and adds a final \n if not already present.

Callers 1

interactiveFunction · 0.65

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