Version:
GitServiceRepository Class
Represents a connection to a git repository hosted at a Git-based service like GitLab or Azure DevOps
Syntax
public
class
GitServiceRepository : GitRepository
Properties
|
Name |
Description |
|
Namespace
|
Gets or sets the namespace of the repository.
|
|
RepositoryName
|
Gets or sets the name of the repository.
|
Methods
|
Name |
Description |
|
CreatePullRequestAsync(Inedo.Extensibility.Credentials.ICredentialResolutionContext context, string sourceBranch, string targetBranch, string title, string description, System.Threading.CancellationToken cancellationToken)
|
|
|
GetPullRequestsAsync(Inedo.Extensibility.Credentials.ICredentialResolutionContext context, bool includeClosed, System.Threading.CancellationToken cancellationToken)
|
|
|
MergePullRequestAsync(Inedo.Extensibility.Credentials.ICredentialResolutionContext context, string id, string headCommit, string commitMessage, string method, System.Threading.CancellationToken cancellationToken)
|
|
|
SetCommitStatusAsync(Inedo.Extensibility.Credentials.ICredentialResolutionContext context, string commit, string status, string description, string statusContext, System.Threading.CancellationToken cancellationToken)
|
|