MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / fullVersion

Function fullVersion

app/cli/cmd/version.go:43–45  ·  view source on GitHub ↗

fullVersion returns the CLI version annotated with its edition flavor, e.g. "v1.94.2-oss" or "dev-ee". Used as the value of the Chainloop-Cli-Version header sent on every request to the Control Plane and CAS.

()

Source from the content-addressed store, hash-verified

41// e.g. "v1.94.2-oss" or "dev-ee". Used as the value of the Chainloop-Cli-Version
42// header sent on every request to the Control Plane and CAS.
43func fullVersion() string {
44 return Version + "-" + Edition
45}
46
47type info struct {
48 Version string

Callers 3

wrappedArtifactConnFunction · 0.85
NewRootCmdFunction · 0.85
newActionOptsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected