(buf []byte, m proto.Message)
| 1391 | } |
| 1392 | |
| 1393 | func MarshalToSizedBuffer(buf []byte, m proto.Message) ([]byte, error) { |
| 1394 | buf = buf[:0] |
| 1395 | return proto.MarshalOptions{}.MarshalAppend(buf, m) |
| 1396 | } |
| 1397 | |
| 1398 | // RootTemplate defines the help template for dgraph command. |
| 1399 | var RootTemplate string = `Dgraph is a horizontally scalable and distributed graph database, |
no outgoing calls