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

Function GetIssueLabels

internal/database/issue_label.go:349–351  ·  view source on GitHub ↗

GetIssueLabels returns all issue-label relations of given issue by ID.

(issueID int64)

Source from the content-addressed store, hash-verified

347
348// GetIssueLabels returns all issue-label relations of given issue by ID.
349func GetIssueLabels(issueID int64) ([]*IssueLabel, error) {
350 return getIssueLabels(x, issueID)
351}
352
353func deleteIssueLabel(e *xorm.Session, issue *Issue, label *Label) (err error) {
354 if _, err = e.Delete(&IssueLabel{

Callers

nothing calls this directly

Calls 1

getIssueLabelsFunction · 0.85

Tested by

no test coverage detected