MCPcopy Index your code
hub / github.com/coder/coder / defaultVersionInfo

Function defaultVersionInfo

cli/version.go:50–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func defaultVersionInfo() *versionInfo {
51 buildTime, _ := buildinfo.Time()
52 return &versionInfo{
53 Version: buildinfo.Version(),
54 BuildTime: buildTime,
55 ExternalURL: buildinfo.ExternalURL(),
56 Slim: buildinfo.IsSlim(),
57 AGPL: buildinfo.IsAGPL(),
58 BoringCrypto: buildinfo.IsBoringCrypto(),
59 }
60}
61
62// version prints the coder version
63func (*RootCmd) version(versionInfo func() *versionInfo) *serpent.Command {

Callers 1

supportBundleMethod · 0.85

Calls 6

TimeFunction · 0.92
VersionFunction · 0.92
ExternalURLFunction · 0.92
IsSlimFunction · 0.92
IsAGPLFunction · 0.92
IsBoringCryptoFunction · 0.92

Tested by

no test coverage detected