Skip to main content

parseRepoUrl()

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

Signature:

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

Parameters

Parameter

Type

Description

repoUrl

string

integrations

ScmIntegrationRegistry

**Returns:**

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