MCPcopy Index your code
hub / github.com/bytebase/bytebase / getBitbucketAPIBaseURL

Function getBitbucketAPIBaseURL

action/command/vcs_user.go:224–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222}
223
224func getBitbucketAPIBaseURL() string {
225 if apiURL := os.Getenv("BYTEBASE_BITBUCKET_API_BASE_URL"); apiURL != "" {
226 return apiURL
227 }
228 return bitbucket.APIBaseURL
229}
230
231func buildBitbucketPullRequestURL(apiURL, workspace, repoSlug, pullRequestID string) (string, error) {
232 parsedURL, err := url.Parse(apiURL)

Callers 2

getBitbucketVCSUserFunction · 0.85

Calls

no outgoing calls