Summary
Checks if a specific commit hash is the last commit on the source branch of a pull request.
- Assembly
- Cake
.Issues .PullRequests .dll - Namespace
- Cake
.Issues .PullRequests - Containing Type
- I
Support Checking Commit Id Extensions
Syntax
public static bool IsCurrentCommitId(this ISupportCheckingCommitId capability, string commitId)
Parameters
Name | Type | Description |
---|---|---|
capability | I |
Pull request system capability. |
commitId | string | Hash of the commit ID to check. |
Return Value
Type | Description |
---|---|
bool | True if the commit ID is the last commit on the source branch. |