Summary
Gets an instance of the file link settings for linking files hosted on GitHub on a specific branch.
Syntax
public static FileLinkSettings IssueFileLinkSettingsForGitHubBranch(this ICakeContext context, Uri repositoryUrl, string branch)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
repositoryUrl |
Uri |
Full URL of the Git repository,
eg. https://github.com/cake-contrib/Cake.Issues.Reporting.Generic . |
branch |
string |
Name of the branch on which the file linking will be based on. |
Return Value
Type |
Description |
FileLinkSettings |
Settings for linking to files hosted in GitHub. |