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

Function GetIssueByID

internal/database/issue.go:893–895  ·  view source on GitHub ↗

GetIssueByID returns an issue by given ID.

(id int64)

Source from the content-addressed store, hash-verified

891
892// GetIssueByID returns an issue by given ID.
893func GetIssueByID(id int64) (*Issue, error) {
894 return getIssueByID(x, id)
895}
896
897type IssuesOptions struct {
898 UserID int64

Callers 8

runWebFunction · 0.92
UpdateCommentContentFunction · 0.92
DeleteCommentFunction · 0.92
EditIssueCommentFunction · 0.92
DeleteIssueCommentFunction · 0.92
CreateIssueFunction · 0.92
EditIssueFunction · 0.92
LoadIssueMethod · 0.85

Calls 1

getIssueByIDFunction · 0.85

Tested by

no test coverage detected