MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / getMaxLen

Function getMaxLen

testutil/ui.go:38–43  ·  view source on GitHub ↗
(headers []string, rows [][]string, maxLen map[int]int)

Source from the content-addressed store, hash-verified

36}
37
38func getMaxLen(headers []string, rows [][]string, maxLen map[int]int) {
39 getRowMaxLen(headers, maxLen)
40 for _, row := range rows {
41 getRowMaxLen(row, maxLen)
42 }
43}
44
45func getRowMaxLen(row []string, maxLen map[int]int) {
46 for i, col := range row {

Callers 1

GetTableOutputLinesFunction · 0.85

Calls 1

getRowMaxLenFunction · 0.85

Tested by

no test coverage detected