MCPcopy Create free account
hub / github.com/gogs/gogs / HashTag

Method HashTag

internal/database/comment.go:155–157  ·  view source on GitHub ↗

HashTag returns unique hash tag for comment.

()

Source from the content-addressed store, hash-verified

153
154// HashTag returns unique hash tag for comment.
155func (c *Comment) HashTag() string {
156 return CommentHashTag(c.ID)
157}
158
159// EventTag returns unique event hash tag for comment.
160func (c *Comment) EventTag() string {

Callers 1

NewCommentFunction · 0.95

Calls 1

CommentHashTagFunction · 0.85

Tested by

no test coverage detected