public class GHTree extends Object
GHCommit.getTree(),
GHRepository.getTree(String),
GHTreeEntry.asTree()| Constructor and Description |
|---|
GHTree() |
| Modifier and Type | Method and Description |
|---|---|
GHTreeEntry |
getEntry(String path)
Finds a tree entry by its name.
|
String |
getSha()
The SHA for this trees
|
List<GHTreeEntry> |
getTree()
Return an array of entries of the trees
|
URL |
getUrl()
The API URL of this tag, such as
"url": "https://api.github.com/repos/octocat/Hello-World/trees/fc6274d15fa3ae2ab983129fb037999f264ba9a7",
|
boolean |
isTruncated()
Returns true if the number of items in the tree array exceeded the GitHub maximum limit.
|
public String getSha()
public List<GHTreeEntry> getTree()
public GHTreeEntry getEntry(String path)
public boolean isTruncated()
public URL getUrl()
Copyright © 2017. All rights reserved.