MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Get

Function Get

pkg/util/version/version.go:55–60  ·  view source on GitHub ↗

Get returns the version string.

()

Source from the content-addressed store, hash-verified

53
54// Get returns the version string.
55func Get() string {
56 if IsDev() {
57 return "dev"
58 }
59 return version
60}
61
62// IsDev determines if this is a dev version.
63func IsDev() bool { return version == "0.0.0" || version == "" }

Callers 4

renderHTMLTemplateFunction · 0.92
compiler.goFile · 0.92
RunMethod · 0.92
createRuleFunction · 0.92

Calls 1

IsDevFunction · 0.85

Tested by

no test coverage detected