MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / SyncWriter

Struct SyncWriter

finder/entity.go:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57type SyncWriter struct {
58 sync.RWMutex
59 wr *gzip.Writer
60}
61
62func (sw *SyncWriter) Write(buf []byte) {
63 sw.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected