(tag byte, x [][]byte, low int, high int)
| 652 | } |
| 653 | |
| 654 | func (d *Differ) StructuredDump(tag byte, x [][]byte, low int, high int) (out []DiffLine) { |
| 655 | size := high - low |
| 656 | out = make([]DiffLine, size) |
| 657 | for i := 0; i < size; i++ { |
| 658 | out[i] = NewDiffLine(tag, x[i+low]) |
| 659 | } |
| 660 | return out |
| 661 | } |
| 662 | |
| 663 | func (d *Differ) Dump(tag []byte, x [][]byte, low int, high int) (out [][]byte) { |
| 664 | // Generate comparison results for a same-tagged range. |