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

Function formatDepEntry

apps/cli/internal/cli/get.go:496–501  ·  view source on GitHub ↗
(e depEntry, r *lipgloss.Renderer)

Source from the content-addressed store, hash-verified

494}
495
496func formatDepEntry(e depEntry, r *lipgloss.Renderer) string {
497 if e.Title != "" {
498 return fmt.Sprintf("%s (%s)", formatTaskID(e.ID, r), e.Title)
499 }
500 return formatTaskID(e.ID, r)
501}
502
503func printChildren(w io.Writer, children []depEntry, r *lipgloss.Renderer) {
504 if len(children) == 0 {

Callers 2

outputGetTextFunction · 0.85
printChildrenFunction · 0.85

Calls 1

formatTaskIDFunction · 0.85

Tested by

no test coverage detected