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

Function humanTableCellWidth

internal/cli/format.go:286–288  ·  view source on GitHub ↗
(cell string)

Source from the content-addressed store, hash-verified

284}
285
286func humanTableCellWidth(cell string) int {
287 return utf8.RuneCountInString(cell)
288}
289
290func renderHumanBlocks(blocks ...string) string {
291 parts := make([]string, 0, len(blocks))

Callers 5

renderHumanSectionResultFunction · 0.85
renderHumanTableFunction · 0.85
humanTableColumnWidthsFunction · 0.85
writeHumanTableRowFunction · 0.85

Calls

no outgoing calls

Tested by 1