Summary
Gets an instance of the file link settings for linking files hosted on GitHub
in a sub-folder for a specific commit.
Syntax
public static FileLinkSettings IssueFileLinkSettingsForGitHubCommit(this ICakeContext context, Uri repositoryUrl, string commitId, string rootPath)
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 . |
commitId |
string |
The commit id on which the file linking will be based on. |
rootPath |
string |
Root path of the files.
null or System.String.Empty if files are in the root of the repository. |
Return Value
Type |
Description |
FileLinkSettings |
Settings for linking to files hosted in GitHub. |