parseGiteaUrl()
Home > @backstage/integration
> parseGiteaUrl
Return parsed git url properties.
Signature:
function parseGiteaUrl(config: GiteaIntegrationConfig, url: string): {
url: string;
owner: string;
name: string;
ref: string;
path: string;
};
Parameters
Parameter |
Type |
Description |
---|---|---|
config |
A Gitea provider config | |
url |
string |
A URL pointing to a repository |
{ url: string; owner: string; name: string; ref: string; path: string; }