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

Method String

pkg/gocui/view.go:467–473  ·  view source on GitHub ↗

String returns a string from a given cell slice.

()

Source from the content-addressed store, hash-verified

465
466// String returns a string from a given cell slice.
467func (l lineType) String() string {
468 var str strings.Builder
469 for _, c := range l {
470 str.WriteString(c.chr)
471 }
472 return str.String()
473}
474
475// NewView returns a new View object.
476func NewView(name string, x0, y0, x1, y1 int, mode OutputMode) *View {

Callers 15

snakeToPascalFunction · 0.45
runCmdHeadlessFunction · 0.45
StartFunction · 0.45
parseCliArgsAndEnvVarsFunction · 0.45
TestNewCmdTaskFunction · 0.45
TestNewCmdTaskRefreshFunction · 0.45
setDefaultValsFunction · 0.45
insertBlankLinesFunction · 0.45
prepareMarshalledConfigFunction · 0.45
SnapshotMethod · 0.45
cellsToStringFunction · 0.45

Calls 1

WriteStringMethod · 0.80

Tested by 5

runCmdHeadlessFunction · 0.36
TestNewCmdTaskFunction · 0.36
TestNewCmdTaskRefreshFunction · 0.36
cellsToStringFunction · 0.36