MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / SetPluginVersion

Function SetPluginVersion

util/user_agent_builder.go:22–24  ·  view source on GitHub ↗

SetPluginVersion sets the plugin version for use in User-Agent

(version string)

Source from the content-addressed store, hash-verified

20
21// SetPluginVersion sets the plugin version for use in User-Agent
22func SetPluginVersion(version string) {
23 pluginVersion = version
24}
25
26// SetCfCliVersion sets the cf CLI version for use in User-Agent
27func SetCfCliVersion(version string) {

Callers 2

RunMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected