Skip to main content

getBitbucketCloudDownloadUrl()

Home > @backstage/integration > getBitbucketCloudDownloadUrl

Given a URL pointing to a path on a provider, returns a URL that is suitable for downloading the subtree.

Signature:

function getBitbucketCloudDownloadUrl(url: string, config: BitbucketCloudIntegrationConfig): Promise<string>;

Parameters

ParameterTypeDescription
urlstringA URL pointing to a path
configBitbucketCloudIntegrationConfigThe relevant provider config

Returns:

Promise<string>