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

Method singleColumn

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

Source from the content-addressed store, hash-verified

559}
560
561func (m *browseModel) singleColumn() bool {
562 return m.opts.SingleColumn || (m.width > 0 && m.width < 100)
563}
564
565func (m *browseModel) listWidth() int {
566 if m.singleColumn() || m.width <= 0 {

Callers 3

mainContentMethod · 0.95
listWidthMethod · 0.95
readmeWidthMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected