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

Function gitLabPID

coderd/externalauth/gitprovider/gitlab.go:76–78  ·  view source on GitHub ↗

gitLabPID returns the full project path (owner/repo) for use as a pid. The library handles URL encoding internally.

(owner, repo string)

Source from the content-addressed store, hash-verified

74// gitLabPID returns the full project path (owner/repo) for use as a pid.
75// The library handles URL encoding internally.
76func gitLabPID(owner, repo string) string {
77 return owner + "/" + repo
78}
79
80func (g *gitlabProvider) FetchPullRequestStatus(
81 ctx context.Context,

Callers 4

FetchPullRequestDiffMethod · 0.85
FetchBranchDiffMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected