(t *testing.T, attr string, src uint64, dst uint64, startTs, commitTs uint64)
| 232 | } |
| 233 | |
| 234 | func addDelEdgeToUID(t *testing.T, attr string, src uint64, |
| 235 | dst uint64, startTs, commitTs uint64) { |
| 236 | edge := &pb.DirectedEdge{ |
| 237 | ValueId: dst, |
| 238 | Attr: attr, |
| 239 | Entity: src, |
| 240 | Op: pb.DirectedEdge_DEL, |
| 241 | } |
| 242 | l, err := GetNoStore(x.DataKey(attr, src), startTs) |
| 243 | require.NoError(t, err) |
| 244 | // No index entries added here as we do not call AddMutationWithIndex. |
| 245 | addMutation(t, l, edge, Del, startTs, commitTs, false) |
| 246 | } |
| 247 | |
| 248 | // addEdgeToUID adds uid edge with reverse edge |
| 249 | func addEdgeToUID(t *testing.T, attr string, src uint64, |
no test coverage detected