MCPcopy Create free account
hub / github.com/github/gh-aw / SetVersion

Function SetVersion

pkg/workflow/version.go:28–31  ·  view source on GitHub ↗

SetVersion sets the compiler version. Call once during CLI initialization. The version is used in generated workflow headers and as the default version for new Compiler instances created via NewCompiler.

(v string)

Source from the content-addressed store, hash-verified

26// The version is used in generated workflow headers and as the default version
27// for new Compiler instances created via NewCompiler.
28func SetVersion(v string) {
29 versionLog.Printf("Setting compiler version: %s", v)
30 compilerVersion = v
31}
32
33// GetVersion returns the current compiler version.
34func GetVersion() string {

Calls 1

PrintfMethod · 0.45