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

Method Bool

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

Source from the content-addressed store, hash-verified

161type testFlags map[string]any
162
163func (flags testFlags) Bool(name string, def bool, usage string) *bool {
164 return getFlag(flags, name, def)
165}
166func (flags testFlags) Int(name string, def int, usage string) *int {
167 return getFlag(flags, name, def)
168}

Callers

nothing calls this directly

Calls 1

getFlagFunction · 0.85

Tested by

no test coverage detected