MCPcopy
hub / github.com/cli/cli / ColorLabels

Method ColorLabels

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

Source from the content-addressed store, hash-verified

131}
132
133func (c *cfg) ColorLabels(hostname string) gh.ConfigEntry {
134 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)
135 return c.GetOrDefault(hostname, colorLabelsKey).Unwrap()
136}
137
138func (c *cfg) Editor(hostname string) gh.ConfigEntry {
139 // 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