Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgraph-io/dgraph-benchmarks
/ writeOut
Function
writeOut
convert/main.go:125–130 ·
view source on GitHub ↗
(m *sync.Mutex, w *gzip.Writer, s, p, o string)
Source
from the content-addressed store, hash-verified
123
}
124
125
func
writeOut(m *sync.Mutex, w *gzip.Writer, s, p, o string) {
126
str := fmt.Sprintf(
"<%v> <%v> <%v> .\n"
, s, p, o)
127
m.Lock()
128
defer
m.Unlock()
129
w.Write([]byte(str))
130
}
Callers
1
main
Function · 0.85
Calls
1
Write
Method · 0.80
Tested by
no test coverage detected