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

Parameter

Type

Description

url

string

A URL pointing to a path

config

BitbucketCloudIntegrationConfig

The relevant provider config

**Returns:**

Promise<string>