MCPcopy Index your code
hub / github.com/subtrace/subtrace / GetCanonicalString

Function GetCanonicalString

cmd/version/version.go:60–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58}
59
60func GetCanonicalString() string {
61 ret := fmt.Sprintf("%s-%s", Release, CommitHash)
62 if Release == "b000" && CommitHash == "unknown" {
63 ret += "-" + getExecutableHash()
64 }
65 return ret
66}
67
68type Command struct {
69 ffcli.Command

Callers 1

CallFunction · 0.92

Calls 1

getExecutableHashFunction · 0.85

Tested by

no test coverage detected