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

Method ParsePullRequestURL

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

ParsePullRequestURL parses a pull request URL into a PRRef. Returns false if the URL does not match this provider.

(raw string)

Source from the content-addressed store, hash-verified

158 // PRRef. Returns false if the URL does not match this
159 // provider.
160 ParsePullRequestURL(raw string) (PRRef, bool)
161
162 // NormalizePullRequestURL normalizes a pull request URL,
163 // stripping trailing punctuation, query strings, and

Callers 7

refreshOneMethod · 0.65
TestGitLabIntegrationFunction · 0.65
TestGitHubEnterpriseURLsFunction · 0.65
TestGitLabSelfHostedFunction · 0.65

Calls

no outgoing calls

Tested by 4

TestGitLabIntegrationFunction · 0.52
TestGitHubEnterpriseURLsFunction · 0.52
TestGitLabSelfHostedFunction · 0.52