MCPcopy Create free account
hub / github.com/git-bug/git-bug / bugsPlainFormatter

Function bugsPlainFormatter

commands/bug/bug.go:272–277  ·  view source on GitHub ↗
(env *execenv.Env, excerpts []*cache.BugExcerpt)

Source from the content-addressed store, hash-verified

270}
271
272func bugsPlainFormatter(env *execenv.Env, excerpts []*cache.BugExcerpt) error {
273 for _, b := range excerpts {
274 env.Out.Printf("%s\t%s\t%s\n", b.Id().Human(), b.Status, strings.TrimSpace(b.Title))
275 }
276 return nil
277}
278
279func bugsOrgmodeFormatter(env *execenv.Env, excerpts []*cache.BugExcerpt) error {
280 // see https://orgmode.org/manual/Tags.html

Callers 1

runBugFunction · 0.85

Calls 3

PrintfMethod · 0.65
IdMethod · 0.65
HumanMethod · 0.45

Tested by

no test coverage detected