MCPcopy Create free account
hub / github.com/compozy/agh / configEntryRows

Function configEntryRows

internal/cli/config.go:1509–1519  ·  view source on GitHub ↗
(entries []configEntry)

Source from the content-addressed store, hash-verified

1507}
1508
1509func configEntryRows(entries []configEntry) [][]string {
1510 rows := make([][]string, 0, len(entries))
1511 for _, entry := range entries {
1512 rows = append(rows, []string{
1513 entry.Path,
1514 formatConfigValue(entry.Value),
1515 strconv.FormatBool(entry.Redacted),
1516 })
1517 }
1518 return rows
1519}
1520
1521func renderConfigEntriesToon(name string, entries []configEntry) string {
1522 rows := make([][]string, 0, len(entries))

Callers 1

renderConfigEntriesFunction · 0.85

Calls 2

appendFunction · 0.85
formatConfigValueFunction · 0.85

Tested by

no test coverage detected