SetStringLines sets the data from given lines of strings
(astr, bstr []string)
| 130 | |
| 131 | // SetStringLines sets the data from given lines of strings |
| 132 | func (ds *DiffSelected) SetStringLines(astr, bstr []string) { |
| 133 | ds.A.SetStringLines(astr) |
| 134 | ds.B.SetStringLines(bstr) |
| 135 | ds.Diffs = DiffLines(astr, bstr) |
| 136 | } |
| 137 | |
| 138 | // AtoB applies given diff index from A to B |
| 139 | func (ds *DiffSelected) AtoB(idx int) { |
no test coverage detected