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

Method Version

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

Version returns the current schema version of the configuration.

()

Source from the content-addressed store, hash-verified

82
83 // Version returns the current schema version of the configuration.
84 Version() o.Option[string]
85
86 // Write persists modifications to the configuration.
87 Write() error

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