public final class GitRepositories
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.List<org.eclipse.jgit.lib.Ref> |
getBranches(org.eclipse.jgit.lib.Repository repository) |
static java.lang.Iterable<org.eclipse.jgit.revwalk.RevCommit> |
getFileLog(org.eclipse.jgit.lib.Repository repository,
java.nio.file.Path path) |
static java.lang.Iterable<org.eclipse.jgit.revwalk.RevCommit> |
getFileLog(org.eclipse.jgit.lib.Repository repository,
java.lang.String path) |
static java.lang.String |
getFullBranch(org.eclipse.jgit.lib.Repository repository) |
static java.util.List<java.nio.file.Path> |
getIgnoreFiles(org.eclipse.jgit.lib.Repository repository,
java.nio.file.Path path) |
static java.util.List<java.nio.file.Path> |
getIgnoreFiles(org.eclipse.jgit.lib.Repository repository,
java.lang.String path) |
static org.eclipse.jgit.ignore.IgnoreNode |
getIgnoreNode(java.nio.file.Path path) |
static org.eclipse.jgit.ignore.IgnoreNode |
getIgnoreNode(java.lang.String path) |
static java.util.List<org.eclipse.jgit.ignore.IgnoreNode> |
getIgnoreNodes(org.eclipse.jgit.lib.Repository repository,
java.nio.file.Path path) |
static java.util.List<org.eclipse.jgit.ignore.IgnoreNode> |
getIgnoreNodes(org.eclipse.jgit.lib.Repository repository,
java.lang.String path) |
static org.eclipse.jgit.revwalk.RevCommit |
getMostRecentCommit(org.eclipse.jgit.lib.Repository repository) |
static org.eclipse.jgit.revwalk.RevCommit |
getMostRecentCommit(org.eclipse.jgit.lib.Repository repository,
java.nio.file.Path path) |
static org.eclipse.jgit.revwalk.RevCommit |
getMostRecentCommit(org.eclipse.jgit.lib.Repository repository,
java.lang.String path) |
static java.lang.String |
getRemoteOriginUrl(org.eclipse.jgit.lib.Repository repository) |
static java.lang.String |
getShortBranch(org.eclipse.jgit.lib.Repository repository) |
static java.util.List<org.eclipse.jgit.lib.Ref> |
getTags(org.eclipse.jgit.lib.Repository repository) |
static boolean |
isIgnored(java.lang.Iterable<org.eclipse.jgit.ignore.IgnoreNode> nodes,
java.nio.file.Path path) |
static boolean |
isIgnored(java.lang.Iterable<org.eclipse.jgit.ignore.IgnoreNode> nodes,
java.lang.String path) |
static boolean |
isIgnored(org.eclipse.jgit.lib.Repository repository,
java.nio.file.Path path) |
static boolean |
isIgnored(org.eclipse.jgit.lib.Repository repository,
java.lang.String path) |
public static java.lang.String getShortBranch(org.eclipse.jgit.lib.Repository repository)
public static java.lang.String getFullBranch(org.eclipse.jgit.lib.Repository repository)
public static java.util.List<org.eclipse.jgit.lib.Ref> getBranches(org.eclipse.jgit.lib.Repository repository)
public static java.util.List<org.eclipse.jgit.lib.Ref> getTags(org.eclipse.jgit.lib.Repository repository)
public static java.lang.Iterable<org.eclipse.jgit.revwalk.RevCommit> getFileLog(org.eclipse.jgit.lib.Repository repository, java.nio.file.Path path)
public static java.lang.Iterable<org.eclipse.jgit.revwalk.RevCommit> getFileLog(org.eclipse.jgit.lib.Repository repository, java.lang.String path)
public static java.util.List<java.nio.file.Path> getIgnoreFiles(org.eclipse.jgit.lib.Repository repository, java.nio.file.Path path)
public static java.util.List<java.nio.file.Path> getIgnoreFiles(org.eclipse.jgit.lib.Repository repository, java.lang.String path)
public static org.eclipse.jgit.ignore.IgnoreNode getIgnoreNode(java.nio.file.Path path)
public static org.eclipse.jgit.ignore.IgnoreNode getIgnoreNode(java.lang.String path)
public static java.util.List<org.eclipse.jgit.ignore.IgnoreNode> getIgnoreNodes(org.eclipse.jgit.lib.Repository repository, java.nio.file.Path path)
public static java.util.List<org.eclipse.jgit.ignore.IgnoreNode> getIgnoreNodes(org.eclipse.jgit.lib.Repository repository, java.lang.String path)
public static org.eclipse.jgit.revwalk.RevCommit getMostRecentCommit(org.eclipse.jgit.lib.Repository repository)
public static org.eclipse.jgit.revwalk.RevCommit getMostRecentCommit(org.eclipse.jgit.lib.Repository repository, java.nio.file.Path path)
public static org.eclipse.jgit.revwalk.RevCommit getMostRecentCommit(org.eclipse.jgit.lib.Repository repository, java.lang.String path)
public static java.lang.String getRemoteOriginUrl(org.eclipse.jgit.lib.Repository repository)
public static boolean isIgnored(org.eclipse.jgit.lib.Repository repository, java.nio.file.Path path)
public static boolean isIgnored(org.eclipse.jgit.lib.Repository repository, java.lang.String path)
public static boolean isIgnored(java.lang.Iterable<org.eclipse.jgit.ignore.IgnoreNode> nodes, java.nio.file.Path path)
public static boolean isIgnored(java.lang.Iterable<org.eclipse.jgit.ignore.IgnoreNode> nodes, java.lang.String path)