MCPcopy Index your code
hub / github.com/coder/coder / FetchPullRequestStatus

Method FetchPullRequestStatus

coderd/externalauth/gitprovider/gitprovider.go:130–130  ·  view source on GitHub ↗

FetchPullRequestStatus retrieves the complete status of a pull request in the minimum number of API calls for this provider.

(ctx context.Context, token string, ref PRRef)

Source from the content-addressed store, hash-verified

128 // pull request in the minimum number of API calls for this
129 // provider.
130 FetchPullRequestStatus(ctx context.Context, token string, ref PRRef) (*PRStatus, error)
131
132 // ResolveBranchPullRequest finds the open PR (if any) for
133 // the given branch. Returns nil, nil if no open PR exists.

Calls

no outgoing calls