MCPcopy Create free account
hub / github.com/driangle/taskmd / formatReferencingTasks

Function formatReferencingTasks

apps/cli/internal/cli/rm.go:172–178  ·  view source on GitHub ↗

formatReferencingTasks formats a list of referencing tasks for display.

(tasks []*model.Task)

Source from the content-addressed store, hash-verified

170
171// formatReferencingTasks formats a list of referencing tasks for display.
172func formatReferencingTasks(tasks []*model.Task) string {
173 var lines []string
174 for _, t := range tasks {
175 lines = append(lines, fmt.Sprintf(" - %s %s", t.ID, t.Title))
176 }
177 return strings.Join(lines, "\n")
178}

Callers 1

checkTaskReferencesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected