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

Function getIssueByID

internal/database/issue.go:884–890  ·  view source on GitHub ↗
(e Engine, id int64)

Source from the content-addressed store, hash-verified

882}
883
884func getIssueByID(e Engine, id int64) (*Issue, error) {
885 issue, err := getRawIssueByID(e, id)
886 if err != nil {
887 return nil, err
888 }
889 return issue, issue.loadAttributes(e)
890}
891
892// GetIssueByID returns an issue by given ID.
893func GetIssueByID(id int64) (*Issue, error) {

Callers 1

GetIssueByIDFunction · 0.85

Calls 2

getRawIssueByIDFunction · 0.85
loadAttributesMethod · 0.45

Tested by

no test coverage detected