Skip to main content
Version: Next

parseRepoUrl()

Home > @backstage/plugin-scaffolder-node > parseRepoUrl

Signature:

parseRepoUrl: (repoUrl: string, integrations: ScmIntegrationRegistry) => {
repo: string;
host: string;
owner?: string | undefined;
organization?: string | undefined;
workspace?: string | undefined;
project?: string | undefined;
}

Parameters

Parameter

Type

Description

repoUrl

string

integrations

ScmIntegrationRegistry

**Returns:**

{ repo: string; host: string; owner?: string | undefined; organization?: string | undefined; workspace?: string | undefined; project?: string | undefined; }