MCPcopy Create free account
hub / github.com/basecamp/hey-cli / IsDev

Function IsDev

internal/version/version.go:36–38  ·  view source on GitHub ↗

IsDev returns true if this is a development build.

()

Source from the content-addressed store, hash-verified

34 return stamped, false
35 }
36 if !ok || info == nil || info.Main.Version == "" || info.Main.Version == "(devel)" {
37 return stamped, false
38 }
39 for _, setting := range info.Settings {
40 if setting.Key == "vcs.revision" {
41 return stamped, false

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected