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

Method ReadLine

internal/plugin/plugin.go:181–181  ·  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

179 // ReadLine returns a line of text (a command) read from the user.
180 // prompt is printed before reading the command.
181 ReadLine(prompt string) (string, error)
182
183 // Print shows a message to the user.
184 // It formats the text as fmt.Print would and adds a final \n if not already present.

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