(tag byte, x []string, low int, high int)
| 585 | } |
| 586 | |
| 587 | func (d *Differ) StructuredDump(tag byte, x []string, low int, high int) (out []DiffLine) { |
| 588 | size := high - low |
| 589 | out = make([]DiffLine, size) |
| 590 | for i := 0; i < size; i++ { |
| 591 | out[i] = NewDiffLine(tag, x[i+low]) |
| 592 | } |
| 593 | return out |
| 594 | } |
| 595 | |
| 596 | func (d *Differ) Dump(tag string, x []string, low int, high int) (out []string) { |
| 597 | // Generate comparison results for a same-tagged range. |