MCPcopy Index your code
hub / github.com/git-bug/git-bug / runBugStatus

Function runBugStatus

commands/bug/bug_status.go:26–37  ·  view source on GitHub ↗
(env *execenv.Env, args []string)

Source from the content-addressed store, hash-verified

24}
25
26func runBugStatus(env *execenv.Env, args []string) error {
27 b, _, err := ResolveSelected(env.Backend, args)
28 if err != nil {
29 return err
30 }
31
32 snap := b.Snapshot()
33
34 env.Out.Println(snap.Status)
35
36 return nil
37}

Callers 1

newBugStatusCommandFunction · 0.85

Calls 3

ResolveSelectedFunction · 0.85
SnapshotMethod · 0.80
PrintlnMethod · 0.65

Tested by

no test coverage detected