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

Method ExpiringCredentials

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

Source from the content-addressed store, hash-verified

186}
187
188func (c *cfg) ExpiringCredentials(hostname string) gh.ConfigEntry {
189 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)
190 return c.GetOrDefault(hostname, expiringCredentialsKey).Unwrap()
191}
192
193func (c *cfg) Spinner(hostname string) gh.ConfigEntry {
194 // 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