Skip to main content

getBitbucketServerDownloadUrl()

Home > @backstage/integration > getBitbucketServerDownloadUrl

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

Signature:

function getBitbucketServerDownloadUrl(url: string, config: BitbucketServerIntegrationConfig): Promise<string>;

Parameters

ParameterTypeDescription
urlstringA URL pointing to a path
configBitbucketServerIntegrationConfigThe relevant provider config

Returns:

Promise<string>