Old returns true if the line appears in the old content of the fragment.
()
| 165 | |
| 166 | // Old returns true if the line appears in the old content of the fragment. |
| 167 | func (fl Line) Old() bool { |
| 168 | return fl.Op == OpContext || fl.Op == OpDelete |
| 169 | } |
| 170 | |
| 171 | // New returns true if the line appears in the new content of the fragment. |
| 172 | func (fl Line) New() bool { |
no outgoing calls
no test coverage detected