MCPcopy Create free account
hub / github.com/cli/cli / Browser

Method Browser

internal/config/config.go:131–134  ·  view source on GitHub ↗
(hostname string)

Source from the content-addressed store, hash-verified

129}
130
131func (c *cfg) Browser(hostname string) gh.ConfigEntry {
132 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)
133 return c.GetOrDefault(hostname, browserKey).Unwrap()
134}
135
136func (c *cfg) Clipboard() gh.ConfigEntry {
137 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)

Callers 1

NewMockConfigFromStringFunction · 0.95

Calls 2

GetOrDefaultMethod · 0.95
UnwrapMethod · 0.45

Tested by

no test coverage detected