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

Function IsDev

buildinfo/buildinfo.go:98–100  ·  view source on GitHub ↗

IsDev returns true if this is a development build. CI builds are also considered development builds.

()

Source from the content-addressed store, hash-verified

96// IsDev returns true if this is a development build.
97// CI builds are also considered development builds.
98func IsDev() bool {
99 return IsDevVersion(Version())
100}
101
102// IsSlim returns true if this is a slim build.
103func IsSlim() bool {

Callers 7

NewFunction · 0.92
WriteHeaderMethod · 0.92
OptionsMethod · 0.92
WithRecoverFunction · 0.92
NewFunction · 0.92
healthReportMethod · 0.92

Calls 2

IsDevVersionFunction · 0.85
VersionFunction · 0.85

Tested by

no test coverage detected