summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorstk <stk@ableton.com>2023-01-25 17:25:53 +0100
committerstk <stk@ableton.com>2023-01-26 10:30:05 +0100
commit93d845cb015696863033ee3adf1b813b525698d0 (patch)
tree3180e26ce028bc8a44660920e6040a962662c847 /pkg/commands
parent679b0456f3db7c505b398def84e7d023e5b55a8d (diff)
Cleanup: remove unused function RenderPlain
Diffstat (limited to 'pkg/commands')
-rw-r--r--pkg/commands/patch/patch_parser.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/commands/patch/patch_parser.go b/pkg/commands/patch/patch_parser.go
index 90b2ea13e..b57242c67 100644
--- a/pkg/commands/patch/patch_parser.go
+++ b/pkg/commands/patch/patch_parser.go
@@ -202,10 +202,6 @@ func (p *PatchParser) Render(isFocused bool, firstLineIndex int, lastLineIndex i
return result
}
-func (p *PatchParser) RenderPlain() string {
- return renderLinesPlain(p.PatchLines)
-}
-
// RenderLinesPlain returns the non-coloured string of diff part from firstLineIndex to
// lastLineIndex
func (p *PatchParser) RenderLinesPlain(firstLineIndex, lastLineIndex int) string {