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

Function GetCommentsByIssueID

internal/database/comment.go:464–466  ·  view source on GitHub ↗

GetCommentsByIssueID returns all comments of an issue.

(issueID int64)

Source from the content-addressed store, hash-verified

462
463// GetCommentsByIssueID returns all comments of an issue.
464func GetCommentsByIssueID(issueID int64) ([]*Comment, error) {
465 return getCommentsByIssueID(x, issueID)
466}
467
468// GetCommentsByIssueIDSince returns a list of comments of an issue since a given time point.
469func GetCommentsByIssueIDSince(issueID, since int64) ([]*Comment, error) {

Callers

nothing calls this directly

Calls 1

getCommentsByIssueIDFunction · 0.85

Tested by

no test coverage detected