MCPcopy Create free account
hub / github.com/docker/docker-agent / currentVersion

Function currentVersion

pkg/selfupdate/version.go:7–9  ·  view source on GitHub ↗

currentVersion returns the compiled-in release version. Wrapped so the rest of the package depends only on a string and stays trivially testable.

()

Source from the content-addressed store, hash-verified

5// currentVersion returns the compiled-in release version. Wrapped so the rest
6// of the package depends only on a string and stays trivially testable.
7func currentVersion() string {
8 return version.Version
9}

Callers 1

RunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected