MCPcopy Create free account
hub / github.com/exercism/cli / currentVersion

Function currentVersion

cmd/version.go:46–48  ·  view source on GitHub ↗

currentVersion returns a formatted version string for the Exercism CLI.

()

Source from the content-addressed store, hash-verified

44
45// currentVersion returns a formatted version string for the Exercism CLI.
46func currentVersion() string {
47 return fmt.Sprintf("exercism version %s", Version)
48}
49
50// checkForUpdate verifies if the CLI is running the latest version.
51// If the client is out of date, the function returns upgrade instructions.

Callers 2

TestCurrentVersionFunction · 0.85
version.goFile · 0.85

Calls

no outgoing calls

Tested by 1

TestCurrentVersionFunction · 0.68