MCPcopy Create free account
hub / github.com/jetify-com/devbox / getVersionInfo

Function getVersionInfo

internal/boxcli/version.go:81–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81func getVersionInfo() *versionInfo {
82 v := &versionInfo{
83 Version: build.Version,
84 Platform: fmt.Sprintf("%s_%s", runtime.GOOS, runtime.GOARCH),
85 Commit: build.Commit,
86 CommitDate: build.CommitDate,
87 GoVersion: runtime.Version(),
88 LauncherVersion: os.Getenv(envir.LauncherVersion),
89 }
90
91 return v
92}

Callers 1

versionCmdFuncFunction · 0.85

Calls 1

VersionMethod · 0.80

Tested by

no test coverage detected