buildGerritGitilesArchiveUrl()
Home > @backstage/integration > buildGerritGitilesArchiveUrl
Warning: This API is now obsolete.
buildGerritGitilesArchiveUrlis deprecated. Use buildGerritGitilesArchiveUrlFromLocation() instead.
Build a Gerrit Gitiles archive url that targets a specific branch and path
Signature:
function buildGerritGitilesArchiveUrl(config: GerritIntegrationConfig, project: string, branch: string, filePath: string): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
config |
A Gerrit provider config. | |
|
project |
string |
The name of the git project |
|
branch |
string |
The branch we will target. |
|
filePath |
string |
The absolute file path. |
string