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

Method MessageIsEmpty

entities/bug/timeline.go:78–80  ·  view source on GitHub ↗

MessageIsEmpty return true is the message is empty or only made of spaces

()

Source from the content-addressed store, hash-verified

76
77// MessageIsEmpty return true is the message is empty or only made of spaces
78func (c *CommentTimelineItem) MessageIsEmpty() bool {
79 return len(strings.TrimSpace(c.Message)) == 0
80}

Calls

no outgoing calls

Tested by

no test coverage detected