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

Function listWrap

worker/draft.go:1596–1598  ·  view source on GitHub ↗
(kv *bpb.KV)

Source from the content-addressed store, hash-verified

1594}
1595
1596func listWrap(kv *bpb.KV) *bpb.KVList {
1597 return &bpb.KVList{Kv: []*bpb.KV{kv}}
1598}
1599
1600// calculateTabletSizes updates the tablet sizes for the keys.
1601func (n *node) calculateTabletSizes() {

Callers 3

toJSONMethod · 0.85
toRDFMethod · 0.85
ToExportKvListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected