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

Method SetAutoComplete

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

201 // SetAutoComplete instructs the UI to call complete(cmd) to obtain
202 // the auto-completion of cmd, if the UI supports auto-completion at all.
203 SetAutoComplete(complete func(string) string)
204}
205
206// HTTPServerArgs contains arguments needed by an HTTP server that

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