ISupportCheckingCommitIdExtensions.

IsCurrentCommitId(ISupportCheckingCommitId, string) Method

Summary

Checks if a specific commit hash is the last commit on the source branch of a pull request.

Syntax

public static bool IsCurrentCommitId(this ISupportCheckingCommitId capability, string commitId)

Parameters

Name Type Description
capability ISupportCheckingCommitId 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.
GitHub