MCPcopy Create free account
hub / github.com/go-task/task / printTaskSummary

Function printTaskSummary

internal/summary/summary.go:56–64  ·  view source on GitHub ↗
(l *logger.Logger, t *ast.Task)

Source from the content-addressed store, hash-verified

54}
55
56func printTaskSummary(l *logger.Logger, t *ast.Task) {
57 lines := strings.Split(t.Summary, "\n")
58 for i, line := range lines {
59 notLastLine := i+1 < len(lines)
60 if notLastLine || line != "" {
61 l.Outf(logger.Default, "%s\n", line)
62 }
63 }
64}
65
66func printTaskName(l *logger.Logger, t *ast.Task) {
67 l.Outf(logger.Default, "task: ")

Callers 1

printTaskDescribingTextFunction · 0.85

Calls 1

OutfMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…