public class GitUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static File |
findGitFolder(File basedir) |
static String |
getGitCommitId(org.eclipse.jgit.lib.Repository repository) |
static org.eclipse.jgit.lib.Repository |
getGitRepository(File currentDir) |
public static org.eclipse.jgit.lib.Repository getGitRepository(File currentDir) throws IOException
IOExceptionpublic static String getGitCommitId(org.eclipse.jgit.lib.Repository repository) throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIExceptionCopyright © 2021. All rights reserved.