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

Method Editor

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

Source from the content-addressed store, hash-verified

138}
139
140func (c *cfg) Editor(hostname string) gh.ConfigEntry {
141 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)
142 return c.GetOrDefault(hostname, editorKey).Unwrap()
143}
144
145func (c *cfg) GitProtocol(hostname string) gh.ConfigEntry {
146 // 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