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

Function DgraphBinaryPath

testutil/exec.go:120–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118}
119
120func DgraphBinaryPath() string {
121 gopath := os.Getenv("GOPATH")
122
123 if gopath == "" {
124 gopath = build.Default.GOPATH
125 }
126
127 return filepath.Join(gopath, "bin", buildvars.BinaryName.Get())
128}
129
130func DetectRaceInZeros(prefix string) bool {
131 for i := 0; i <= 3; i++ {

Callers 15

TestDgraphVersionFunction · 0.92
TestLiveLoadUpsertAtOnceFunction · 0.92
TestLiveLoadUpsertFunction · 0.92
TestLiveLoadJsonUidKeepFunction · 0.92
TestLiveLoadRdfUidKeepFunction · 0.92
TestLiveLoadFileNameFunction · 0.92

Calls 1

GetMethod · 0.65

Tested by 15

TestDgraphVersionFunction · 0.74
TestLiveLoadUpsertAtOnceFunction · 0.74
TestLiveLoadUpsertFunction · 0.74
TestLiveLoadJsonUidKeepFunction · 0.74
TestLiveLoadRdfUidKeepFunction · 0.74
TestLiveLoadFileNameFunction · 0.74