GenericIssueReportFormatAliases.

GenericIssueReportFileLinkSettingsForGitHub(ICakeContext, Uri, string, string) Method

Summary

Gets an instance of the file link settings for linking files hosted on GitHub in a sub-folder.

Syntax

public static FileLinkSettings GenericIssueReportFileLinkSettingsForGitHub(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, eg.
https://github.com/cake-contrib/Cake.Issues.Reporting.Generic
.
branch string Name of the branch.
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.
GitHub