MCPcopy Create free account
hub / github.com/cli/cli / mainContent

Method mainContent

pkg/cmd/extension/browse/model.go:443–452  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

441}
442
443func (m *browseModel) mainContent() string {
444 list := lipgloss.NewStyle().
445 Width(m.listWidth()).
446 Height(m.mainHeight()).
447 Render(m.listView())
448 if m.singleColumn() {
449 return list
450 }
451 return lipgloss.JoinHorizontal(lipgloss.Top, list, m.readmePaneView())
452}
453
454func (m *browseModel) footerView() string {
455 var footer string

Callers 1

ViewMethod · 0.95

Calls 6

listWidthMethod · 0.95
mainHeightMethod · 0.95
listViewMethod · 0.95
singleColumnMethod · 0.95
readmePaneViewMethod · 0.95
RenderMethod · 0.65

Tested by

no test coverage detected