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

Method String

browsertests/testutils.go:172–174  ·  view source on GitHub ↗
(name string, def string, usage string)

Source from the content-addressed store, hash-verified

170 return getFlag(flags, name, def)
171}
172func (flags testFlags) String(name string, def string, usage string) *string {
173 return getFlag(flags, name, def)
174}
175func (flags testFlags) StringList(name string, def string, usage string) *[]*string {
176 return getFlag(flags, name, []*string{}) // Not supported, so return an empty list.
177}

Callers

nothing calls this directly

Calls 1

getFlagFunction · 0.85

Tested by

no test coverage detected