public class GitRepo
extends java.lang.Object
implements java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.eclipse.jgit.lib.ObjectId |
getCommit(java.lang.String fromCommit) |
GitRepoData |
getGitRepoData(org.eclipse.jgit.lib.ObjectId from,
org.eclipse.jgit.lib.ObjectId to,
java.lang.String untaggedName,
com.google.common.base.Optional<java.lang.String> ignoreTagsIfNameMatches) |
org.eclipse.jgit.lib.ObjectId |
getRef(java.lang.String fromRef) |
java.lang.String |
toString() |
public GitRepo()
public GitRepo(java.io.File repo)
throws GitChangelogRepositoryException
GitChangelogRepositoryExceptionpublic GitRepoData getGitRepoData(org.eclipse.jgit.lib.ObjectId from, org.eclipse.jgit.lib.ObjectId to, java.lang.String untaggedName, com.google.common.base.Optional<java.lang.String> ignoreTagsIfNameMatches) throws GitChangelogRepositoryException
from - From, but not including, this commit. Except for the
GitChangelogApiConstants.ZERO_COMMIT, it is included.to - To and including this commit.GitChangelogRepositoryExceptionpublic org.eclipse.jgit.lib.ObjectId getRef(java.lang.String fromRef)
public org.eclipse.jgit.lib.ObjectId getCommit(java.lang.String fromCommit)
public java.lang.String toString()
toString in class java.lang.Objectpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException