MCPcopy
hub / github.com/helm/helm / GetVersion

Function GetVersion

internal/version/version.go:66–71  ·  view source on GitHub ↗

GetVersion returns the semver string of the version

()

Source from the content-addressed store, hash-verified

64
65// GetVersion returns the semver string of the version
66func GetVersion() string {
67 if metadata == "" {
68 return version
69 }
70 return version + "+" + metadata
71}
72
73// GetUserAgent returns a user agent for user with an HTTP client
74func GetUserAgent() string {

Callers 3

formatVersionFunction · 0.92
GetUserAgentFunction · 0.85
GetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…