Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
286
func
humanTableCellWidth(cell string) int {
287
return
utf8.RuneCountInString(cell)
288
}
289
290
func
renderHumanBlocks(blocks ...string) string {
291
parts := make([]string, 0, len(blocks))
Callers
5
TestHumanFormattingUsesRuneWidths
Function · 0.85
renderHumanSectionResult
Function · 0.85
renderHumanTable
Function · 0.85
humanTableColumnWidths
Function · 0.85
writeHumanTableRow
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestHumanFormattingUsesRuneWidths
Function · 0.68