(out tui.Output, headers []imgColumn, img topImage, normalColor aec.ANSI)
| 413 | } |
| 414 | |
| 415 | func printChildren(out tui.Output, headers []imgColumn, img topImage, normalColor aec.ANSI) { |
| 416 | for idx, sub := range img.Children { |
| 417 | clr := normalColor |
| 418 | if !sub.Available { |
| 419 | clr = normalColor.With(aec.Faint) |
| 420 | } |
| 421 | |
| 422 | text := sub.Platform |
| 423 | if idx != len(img.Children)-1 { |
| 424 | _, _ = fmt.Fprint(out, headers[0].Print(clr, "├─ "+text)) |
| 425 | } else { |
| 426 | _, _ = fmt.Fprint(out, headers[0].Print(clr, "└─ "+text)) |
| 427 | } |
| 428 | |
| 429 | printDetails(out, headers, clr, sub.Details) |
| 430 | _, _ = fmt.Fprintln(out, "") |
| 431 | } |
| 432 | } |
| 433 | |
| 434 | func printNames(out tui.Output, headers []imgColumn, img topImage, color, untaggedColor aec.ANSI) { |
| 435 | if len(img.Names) == 0 { |
no test coverage detected
searching dependent graphs…