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

Method Migrate

internal/gh/gh.go:81–81  ·  view source on GitHub ↗

Migrate applies a migration to the configuration.

(Migration)

Source from the content-addressed store, hash-verified

79
80 // Migrate applies a migration to the configuration.
81 Migrate(Migration) error
82
83 // Version returns the current schema version of the configuration.
84 Version() o.Option[string]

Callers

nothing calls this directly

Implementers 2

cfginternal/config/config.go
ConfigMockinternal/gh/mock/config.go

Calls

no outgoing calls

Tested by

no test coverage detected