MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / SetVersion

Method SetVersion

internal/server/server.go:1059–1063  ·  view source on GitHub ↗

SetVersion stores the build version info for the health endpoint.

(version, commit, buildTime string)

Source from the content-addressed store, hash-verified

1057
1058// SetVersion stores the build version info for the health endpoint.
1059func (s *Server) SetVersion(version, commit, buildTime string) {
1060 s.version = version
1061 s.commit = commit
1062 s.buildTime = buildTime
1063}
1064
1065// SetBaseURL sets the public base URL used for generating shareable links.
1066//

Callers 1

serveCmdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected