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

Method GetVersion

dgraphtest/local_cluster.go:1197–1199  ·  view source on GitHub ↗

GetVersion returns the version of dgraph the cluster is running

()

Source from the content-addressed store, hash-verified

1195
1196// GetVersion returns the version of dgraph the cluster is running
1197func (c *LocalCluster) GetVersion() string {
1198 return c.conf.version
1199}
1200
1201// GetRepoDir returns the repositroty directory of the cluster
1202func (c *LocalCluster) GetRepoDir() (string, error) {

Callers 2

setupBeforeClusterMethod · 0.95
checkDgraphVersionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected