Diff represents one diff operation
| 38 | |
| 39 | // Diff represents one diff operation |
| 40 | type Diff struct { |
| 41 | Type Operation |
| 42 | Text string |
| 43 | } |
| 44 | |
| 45 | // splice removes amount elements from slice at index index, replacing them with elements. |
| 46 | func splice(slice []Diff, index int, amount int, elements ...Diff) []Diff { |
nothing calls this directly
no outgoing calls
no test coverage detected