public static class JGitEnvironmentRepository.JGitFactory extends Object
Git and
CloneCommand allowing for easier unit testing.| Constructor and Description |
|---|
JGitFactory() |
JGitFactory(boolean cloneSubmodules) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jgit.api.CloneCommand |
getCloneCommandByCloneRepository() |
org.eclipse.jgit.api.Git |
getGitByOpen(File file) |
public JGitFactory()
public JGitFactory(boolean cloneSubmodules)
public org.eclipse.jgit.api.Git getGitByOpen(File file) throws IOException
IOExceptionpublic org.eclipse.jgit.api.CloneCommand getCloneCommandByCloneRepository()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.