Skip to main content

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

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

Returns:

string