MCPcopy
hub / github.com/cli/cli / AccessibleColors

Method AccessibleColors

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

Source from the content-addressed store, hash-verified

116}
117
118func (c *cfg) AccessibleColors(hostname string) gh.ConfigEntry {
119 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)
120 return c.GetOrDefault(hostname, accessibleColorsKey).Unwrap()
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)

Callers 1

NewFromStringFunction · 0.95

Calls 2

GetOrDefaultMethod · 0.95
UnwrapMethod · 0.45

Tested by

no test coverage detected