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

Function GetPullRequestByIssueID

internal/database/pull.go:603–605  ·  view source on GitHub ↗

GetPullRequestByIssueID returns pull request by given issue ID.

(issueID int64)

Source from the content-addressed store, hash-verified

601
602// GetPullRequestByIssueID returns pull request by given issue ID.
603func GetPullRequestByIssueID(issueID int64) (*PullRequest, error) {
604 return getPullRequestByIssueID(x, issueID)
605}
606
607// Update updates all fields of pull request.
608func (pr *PullRequest) Update() error {

Callers 1

MergePullRequestFunction · 0.92

Calls 1

getPullRequestByIssueIDFunction · 0.85

Tested by

no test coverage detected