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

Function formatAge

apps/cli/internal/cli/todos.go:202–207  ·  view source on GitHub ↗
(age int)

Source from the content-addressed store, hash-verified

200}
201
202func formatAge(age int) string {
203 if age > 0 {
204 return fmt.Sprintf("%dd", age)
205 }
206 return ""
207}
208
209func blameAuthor(item todos.TodoItem) string {
210 if item.Blame != nil {

Callers 1

todos.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected