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

Function taskEventRows

internal/cli/task.go:4564–4577  ·  view source on GitHub ↗
(items []TaskEventRecord)

Source from the content-addressed store, hash-verified

4562}
4563
4564func taskEventRows(items []TaskEventRecord) [][]string {
4565 rows := make([][]string, 0, len(items))
4566 for _, item := range items {
4567 rows = append(rows, []string{
4568 stringOrDash(item.ID),
4569 stringOrDash(item.EventType),
4570 stringOrDash(item.RunID),
4571 stringOrDash(formatTaskActor(item.Actor)),
4572 stringOrDash(formatTaskOrigin(item.Origin)),
4573 stringOrDash(formatTime(item.Timestamp)),
4574 })
4575 }
4576 return rows
4577}
4578
4579func taskEventToonRows(items []TaskEventRecord) [][]string {
4580 rows := make([][]string, 0, len(items))

Callers 1

renderTaskDetailHumanFunction · 0.85

Calls 5

appendFunction · 0.85
stringOrDashFunction · 0.85
formatTaskActorFunction · 0.85
formatTaskOriginFunction · 0.85
formatTimeFunction · 0.85

Tested by

no test coverage detected