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

Function newUI

pprof.go:45–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func newUI() driver.UI {
46 rl, err := readline.New("")
47 if err != nil {
48 fmt.Fprintf(os.Stderr, "readline: %v", err)
49 return nil
50 }
51 return &readlineUI{
52 rl: rl,
53 }
54}
55
56// ReadLine returns a line of text (a command) read from the user.
57// prompt is printed before reading the command.

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…