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

Method Action

entities/common/status.go:29–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func (s Status) Action() string {
30 switch s {
31 case OpenStatus:
32 return "opened"
33 case ClosedStatus:
34 return "closed"
35 default:
36 return "unknown status"
37 }
38}
39
40func StatusFromString(str string) (Status, error) {
41 cleaned := strings.ToLower(strings.TrimSpace(str))

Callers 1

renderMainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected