MCPcopy Index your code
hub / github.com/cli/cli / Version

Method Version

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

Source from the content-addressed store, hash-verified

176}
177
178func (c *cfg) Version() o.Option[string] {
179 return c.get("", versionKey)
180}
181
182func (c *cfg) Migrate(m gh.Migration) error {
183 // If there is no version entry we must never have applied a migration, and the following conditional logic

Callers 2

NewFromStringFunction · 0.95
MigrateMethod · 0.95

Calls 1

getMethod · 0.95

Tested by

no test coverage detected