| Package | Description |
|---|---|
| org.kohsuke.github |
| Modifier and Type | Method and Description |
|---|---|
GHContent |
GHContentUpdateResponse.getContent()
Gets content.
|
GHContent |
GHRepository.getFileContent(String path)
Gets file content.
|
GHContent |
GHRepository.getFileContent(String path,
String ref)
Gets file content.
|
GHContent |
GHRepository.getLicenseContent()
Retrieves the contents of the repository's license file - makes an additional API call
|
GHContent |
GHRepository.getReadme()
https://developer.github.com/v3/repos/contents/#get-the-readme
|
static GHContent[] |
GHContent.wrap(GHContent[] contents,
GHRepository repository)
Wrap gh content [ ].
|
| Modifier and Type | Method and Description |
|---|---|
List<GHContent> |
GHRepository.getDirectoryContent(String path)
Gets directory content.
|
List<GHContent> |
GHRepository.getDirectoryContent(String path,
String ref)
Gets directory content.
|
PagedIterable<GHContent> |
GHContent.listDirectoryContent()
List immediate children of this directory.
|
| Modifier and Type | Method and Description |
|---|---|
static GHContent[] |
GHContent.wrap(GHContent[] contents,
GHRepository repository)
Wrap gh content [ ].
|
Copyright © 2020. All rights reserved.