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

Method PreferEditorPrompt

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

Source from the content-addressed store, hash-verified

169}
170
171func (c *cfg) PreferEditorPrompt(hostname string) gh.ConfigEntry {
172 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)
173 return c.GetOrDefault(hostname, preferEditorPromptKey).Unwrap()
174}
175
176func (c *cfg) Spinner(hostname string) gh.ConfigEntry {
177 // 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