MCPcopy
hub / github.com/cloudfoundry/cli / MinCliVersionStr

Function MinCliVersionStr

plugin/plugin_shim.go:42–48  ·  view source on GitHub ↗
(version VersionType)

Source from the content-addressed store, hash-verified

40}
41
42func MinCliVersionStr(version VersionType) string {
43 if version.Major == 0 && version.Minor == 0 && version.Build == 0 {
44 return ""
45 }
46
47 return strconv.Itoa(version.Major) + "." + strconv.Itoa(version.Minor) + "." + strconv.Itoa(version.Build)
48}

Callers 2

StartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected