buildGerritGitilesArchiveUrl()
Home > @backstage/integration
> buildGerritGitilesArchiveUrl
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 | GerritIntegrationConfig | 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. |
Returns:
string