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

Method Version

internal/config/config.go:203–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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