MCPcopy
hub / github.com/dgraph-io/dgraph / PrintVersion

Function PrintVersion

x/init.go:68–70  ·  view source on GitHub ↗

PrintVersion prints version and other helpful information if --version.

()

Source from the content-addressed store, hash-verified

66
67// PrintVersion prints version and other helpful information if --version.
68func PrintVersion() {
69 glog.Infof("\n%s\n", BuildDetails())
70}
71
72// Version returns a string containing the dgraphVersion.
73func Version() string {

Callers 4

runFunction · 0.92
runFunction · 0.92
runFunction · 0.92
runFunction · 0.92

Calls 2

BuildDetailsFunction · 0.85
InfofMethod · 0.80

Tested by

no test coverage detected