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

Method Telemetry

internal/config/config.go:175–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173}
174
175func (c *cfg) Telemetry() gh.ConfigEntry {
176 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)
177 return c.GetOrDefault("", telemetryKey).Unwrap()
178}
179
180func (c *cfg) Version() o.Option[string] {
181 return c.get("", versionKey)

Callers 1

NewMockConfigFromStringFunction · 0.95

Calls 2

GetOrDefaultMethod · 0.95
UnwrapMethod · 0.45

Tested by

no test coverage detected