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

Method Version

internal/config/config.go:206–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204}
205
206func (c *cfg) Version() o.Option[string] {
207 return c.get("", versionKey)
208}
209
210func (c *cfg) Migrate(m gh.Migration) error {
211 // 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