MCPcopy Index your code
hub / github.com/cli/cli / AccessiblePrompter

Method AccessiblePrompter

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

Source from the content-addressed store, hash-verified

121}
122
123func (c *cfg) AccessiblePrompter(hostname string) gh.ConfigEntry {
124 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)
125 return c.GetOrDefault(hostname, accessiblePrompterKey).Unwrap()
126}
127
128func (c *cfg) Browser(hostname string) gh.ConfigEntry {
129 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)

Callers 1

NewFromStringFunction · 0.95

Calls 2

GetOrDefaultMethod · 0.95
UnwrapMethod · 0.45

Tested by

no test coverage detected