Aliases.

IssueFileLinkSettingsForGitHubCommit(ICakeContext, Uri, string, string) Method

Summary

Gets an instance of the file link settings for linking files hosted on GitHub in a sub-folder for a specific commit.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
Aliases

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, e.g.
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.