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

Method SetAutoComplete

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

SetAutoComplete instructs the UI to call complete(cmd) to obtain the auto-completion of cmd, if the UI supports auto-completion at all.

(complete func(string) string)

Source from the content-addressed store, hash-verified

229 // SetAutoComplete instructs the UI to call complete(cmd) to obtain
230 // the auto-completion of cmd, if the UI supports auto-completion at all.
231 SetAutoComplete(complete func(string) string)
232}
233
234// internalObjTool is a wrapper to map from the pprof external

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