Class JgitUtils
java.lang.Object
org.aksw.commons.jgit.util.JgitUtils
Utils for working with Jgit; especially for connecting it to ssh.
- Author:
- Claus Stadler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.jgit.api.TransportConfigCallbackstatic org.eclipse.jgit.transport.SshSessionFactorylistPrivateKeys(Path path) List all files for which there exists another file with a '.pub' suffix
-
Constructor Details
-
JgitUtils
public JgitUtils()
-
-
Method Details
-
listPrivateKeys
List all files for which there exists another file with a '.pub' suffix- Parameters:
path-- Returns:
- Throws:
IOException
-
createSshSessionFactory
public static org.eclipse.jgit.transport.SshSessionFactory createSshSessionFactory() -
createDefaultTransportConfigCallback
public static org.eclipse.jgit.api.TransportConfigCallback createDefaultTransportConfigCallback()
-