MCPcopy Index your code
hub / github.com/coder/coder / Revision

Function Revision

buildinfo/buildinfo.go:151–153  ·  view source on GitHub ↗

Revision returns the full Git hash of the build.

()

Source from the content-addressed store, hash-verified

149
150// Revision returns the full Git hash of the build.
151func Revision() (string, bool) {
152 return find("vcs.revision")
153}
154
155// find panics if a setting with the specific key was not
156// found in the build info.

Callers 3

ServerMethod · 0.92
VersionFunction · 0.85
ExternalURLFunction · 0.85

Calls 1

findFunction · 0.85

Tested by

no test coverage detected