Class GHPullRequestChanges.GHCommitPointer

java.lang.Object
org.kohsuke.github.GHPullRequestChanges.GHCommitPointer
Enclosing class:
GHPullRequestChanges

public static class GHPullRequestChanges.GHCommitPointer extends Object
The Class GHCommitPointer.
See Also:
  • Constructor Details

    • GHCommitPointer

      public GHCommitPointer()
      Create default GHCommitPointer instance
  • Method Details

    • getRef

      public GHPullRequestChanges.GHFrom getRef()
      Named ref to the commit. This (from value) appears to be a "short ref" that doesn't include "refs/heads/" portion.
      Returns:
      the ref
    • getSha

      public GHPullRequestChanges.GHFrom getSha()
      SHA1 of the commit.
      Returns:
      sha