Returns the patch as a string with ANSI color codes for displaying in a view
(opts FormatViewOpts)
| 34 | |
| 35 | // Returns the patch as a string with ANSI color codes for displaying in a view |
| 36 | func (self *Patch) FormatView(opts FormatViewOpts) string { |
| 37 | return formatView(self, opts) |
| 38 | } |
| 39 | |
| 40 | // Returns the lines of the patch |
| 41 | func (self *Patch) Lines() []*PatchLine { |
no test coverage detected