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

Function taskDependencyRows

internal/cli/task.go:4498–4509  ·  view source on GitHub ↗
(items []TaskDependencyRecord)

Source from the content-addressed store, hash-verified

4496}
4497
4498func taskDependencyRows(items []TaskDependencyRecord) [][]string {
4499 rows := make([][]string, 0, len(items))
4500 for _, item := range items {
4501 rows = append(rows, []string{
4502 stringOrDash(item.TaskID),
4503 stringOrDash(item.DependsOnTaskID),
4504 stringOrDash(string(item.Kind)),
4505 stringOrDash(formatTime(item.CreatedAt)),
4506 })
4507 }
4508 return rows
4509}
4510
4511func taskDependencyToonRows(items []TaskDependencyRecord) [][]string {
4512 rows := make([][]string, 0, len(items))

Callers 1

renderTaskDetailHumanFunction · 0.85

Calls 3

appendFunction · 0.85
stringOrDashFunction · 0.85
formatTimeFunction · 0.85

Tested by

no test coverage detected