New returns true if the line appears in the new content of the fragment.
()
| 170 | |
| 171 | // New returns true if the line appears in the new content of the fragment. |
| 172 | func (fl Line) New() bool { |
| 173 | return fl.Op == OpContext || fl.Op == OpAdd |
| 174 | } |
| 175 | |
| 176 | // NoEOL returns true if the line is missing a trailing newline character. |
| 177 | func (fl Line) NoEOL() bool { |
no outgoing calls
no test coverage detected