This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Issues.
Summary
Gets an instance of the file link settings for linking files hosted on GitHub
in a sub-folder on a specific branch.
Syntax
public static FileLinkSettings IssueFileLinkSettingsForGitHubBranch(this ICakeContext context, Uri repositoryUrl, string branch, string rootPath)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
repositoryUrl |
Uri |
Full URL of the Git repository,
e.g. https://github.com/cake-contrib/Cake.Issues.Reporting.Generic . |
branch |
string |
Name of the branch on which the file linking will be based on. |
rootPath |
string |
Root path of the files.
null if files are in the root of the repository. |
Return Value
Type |
Description |
FileLinkSettings |
Settings for linking to files hosted in GitHub. |