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

Method Version

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

Source from the content-addressed store, hash-verified

184}
185
186func (c *cfg) Version() o.Option[string] {
187 return c.get("", versionKey)
188}
189
190func (c *cfg) Migrate(m gh.Migration) error {
191 // If there is no version entry we must never have applied a migration, and the following conditional logic

Callers 2

NewMockConfigFromStringFunction · 0.95
MigrateMethod · 0.95

Calls 1

getMethod · 0.95

Tested by

no test coverage detected