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

Method HTTPUnixSocket

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

Source from the content-addressed store, hash-verified

146}
147
148func (c *cfg) HTTPUnixSocket(hostname string) gh.ConfigEntry {
149 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)
150 return c.GetOrDefault(hostname, httpUnixSocketKey).Unwrap()
151}
152
153func (c *cfg) Pager(hostname string) gh.ConfigEntry {
154 // 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