MCPcopy Index your code
hub / github.com/jesseduffield/lazygit / FormatPlain

Method FormatPlain

pkg/commands/patch/patch.go:26–28  ·  view source on GitHub ↗

Returns the patch as a plain string

()

Source from the content-addressed store, hash-verified

24
25// Returns the patch as a plain string
26func (self *Patch) FormatPlain() string {
27 return formatPlain(self)
28}
29
30// Returns a range of lines from the patch as a plain string (range is inclusive)
31func (self *Patch) FormatRangePlain(startIdx int, endIdx int) string {

Callers 4

TestTransformFunction · 0.80
RenderPatchForFileMethod · 0.80
applySelectionMethod · 0.80
editHunkMethod · 0.80

Calls 1

formatPlainFunction · 0.85

Tested by 1

TestTransformFunction · 0.64