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

Function bundleDeclaredChannelRows

internal/cli/bundle.go:655–669  ·  view source on GitHub ↗
(items []DeclaredNetworkChannelRecord)

Source from the content-addressed store, hash-verified

653}
654
655func bundleDeclaredChannelRows(items []DeclaredNetworkChannelRecord) [][]string {
656 rows := make([][]string, 0, len(items))
657 for _, item := range items {
658 rows = append(rows, []string{
659 stringOrDash(item.ActivationID),
660 stringOrDash(item.ExtensionName),
661 stringOrDash(item.BundleName),
662 stringOrDash(item.ProfileName),
663 stringOrDash(item.WorkspaceID),
664 stringOrDash(item.Name),
665 formatBool(item.Primary),
666 })
667 }
668 return rows
669}

Callers 1

Calls 3

appendFunction · 0.85
stringOrDashFunction · 0.85
formatBoolFunction · 0.85

Tested by

no test coverage detected