Skip to main content
Version: Next

defaultScmResolveUrl()

Home > @backstage/integration > defaultScmResolveUrl

Default implementation of ScmIntegration resolveUrl, that only works with URL pathname based providers.

Signature:

function defaultScmResolveUrl(options: {
url: string;
base: string;
lineNumber?: number;
}): string;

Parameters

Parameter

Type

Description

options

{ url: string; base: string; lineNumber?: number; }

**Returns:**

string