GitLabAliases.

GitLabRepositoryGetBranchesAsync(ICakeContext, ServerIdentity, string, ProjectId) Method

Summary

Lists all of a project's branches
Assembly
Cake.GitLab.dll
Namespace
Cake.GitLab
Containing Type
GitLabAliases

Syntax

public static Task<IReadOnlyCollection<Branch>> GitLabRepositoryGetBranchesAsync(this ICakeContext context, ServerIdentity serverIdentity, string accessToken, ProjectId project)

Attributes

Type Description
AsyncStateMachineAttribute
CakeMethodAliasAttribute
GeneratedCodeAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext
serverIdentity ServerIdentity
accessToken string
project ProjectId

Return Value

Type Description
Task<IReadOnlyCollection<Branch>>