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

Function Format

pkg/cmd/version/version.go:28–30  ·  view source on GitHub ↗
(version, buildDate string)

Source from the content-addressed store, hash-verified

26}
27
28func Format(version, buildDate string) string {
29 return format(version, buildDate, debug.Enabled)
30}
31
32func format(version, buildDate string, debugBuild bool) string {
33 version = strings.TrimPrefix(version, "v")

Callers

nothing calls this directly

Calls 1

formatFunction · 0.85

Tested by

no test coverage detected