1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-23 00:39:13 +02:00

Cleanup: remove unused function RenderPlain

This commit is contained in:
stk
2023-01-25 17:25:53 +01:00
parent 679b0456f3
commit 93d845cb01

View File

@ -202,10 +202,6 @@ func (p *PatchParser) Render(isFocused bool, firstLineIndex int, lastLineIndex i
return result return result
} }
func (p *PatchParser) RenderPlain() string {
return renderLinesPlain(p.PatchLines)
}
// RenderLinesPlain returns the non-coloured string of diff part from firstLineIndex to // RenderLinesPlain returns the non-coloured string of diff part from firstLineIndex to
// lastLineIndex // lastLineIndex
func (p *PatchParser) RenderLinesPlain(firstLineIndex, lastLineIndex int) string { func (p *PatchParser) RenderLinesPlain(firstLineIndex, lastLineIndex int) string {