MCPcopy
hub / github.com/jesseduffield/lazygit / cellsToString

Function cellsToString

pkg/gocui/view_test.go:231–237  ·  view source on GitHub ↗
(cells []cell)

Source from the content-addressed store, hash-verified

229}
230
231func cellsToString(cells []cell) string {
232 var s strings.Builder
233 for _, c := range cells {
234 s.WriteString(c.chr)
235 }
236 return s.String()
237}
238
239func cellsToStrings(cells []cell) []string {
240 s := []string{}

Callers 1

TestLineWrapFunction · 0.85

Calls 2

WriteStringMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected