Skip to content

Commit 11651da

Browse files
committed
not always a blob, for example it could be a tree.
1 parent 88d52c4 commit 11651da

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/kohsuke/github/GHTreeEntry.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public long getSize() {
4646

4747
/**
4848
* Gets the type such as:
49-
* "blob"
49+
* "blob", "tree", etc.
5050
*
5151
* @return The type
5252
*/
@@ -56,14 +56,14 @@ public String getType() {
5656

5757

5858
/**
59-
* SHA1 of this blob object.
59+
* SHA1 of this object.
6060
*/
6161
public String getSha() {
6262
return sha;
6363
}
6464

6565
/**
66-
* API URL to this Git blob data, such as
66+
* API URL to this Git data, such as
6767
* https://api.github.com/repos/jenkinsci
6868
* /jenkins/git/commits/b72322675eb0114363a9a86e9ad5a170d1d07ac0
6969
*/

0 commit comments

Comments
 (0)