GitRepositoryIssuesAliases.

GitRepositoryIssues(ICakeContext, GitRepositoryIssuesSettings) Method

Summary

Gets an instance of a provider for analyzing a Git repository and reporting issues using specified settings.

Syntax

public static IIssueProvider GitRepositoryIssues(this ICakeContext context, GitRepositoryIssuesSettings settings)

Examples

Check for binary files not tracked by Git LFS:

 var settings =
         new GitRepositoryIssuesSettings
         {
             CheckBinaryFilesTrackedWithLfs = true
         };

     var issues =
         ReadIssues(
             GitRepositoryIssues(settings),
             @"c:\repo");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings GitRepositoryIssuesSettings Settings for analyzing the Git repository.

Return Value

Type Description
IIssueProvider Instance of a provider for analyzing a Git repository and reporting issues.
GitHub