@Immutable public interface RepoCommits extends JsonReadable
| Modifier and Type | Method and Description | 
|---|---|
CommitsComparison | 
compare(String base,
       String head)
Compare two commits. 
 | 
String | 
diff(String base,
    String head)
Compare two commits and provide result in diff format. 
 | 
RepoCommit | 
get(String sha)
Get single repository's commits. 
 | 
Iterable<RepoCommit> | 
iterate(Map<String,String> params)
Iterate all repository's commits. 
 | 
String | 
patch(String base,
     String head)
Compare two commits and provide result in patch format. 
 | 
jsonIterable<RepoCommit> iterate(Map<String,String> params)
params - Url's parametersRepoCommit get(String sha)
sha - SHA of a commitCommitsComparison compare(String base, String head)
base - SHA of the base repo commithead - SHA of the head repo commitString diff(String base, String head) throws IOException
base - SHA of the base repo commithead - SHA of the head repo commitIOException - If there is any I/O problemString patch(String base, String head) throws IOException
base - SHA of the base repo commithead - SHA of the head repo commitIOException - If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.