public class InstallBuiltinLfsCommand extends java.lang.Object implements LfsFactory.LfsInstallCommand
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
ARGS_LOCAL |
private static java.lang.String[] |
ARGS_USER |
private Repository |
repository |
Constructor and Description |
---|
InstallBuiltinLfsCommand() |
Modifier and Type | Method and Description |
---|---|
java.lang.Void |
call() |
LfsFactory.LfsInstallCommand |
setRepository(Repository repo)
Set the repository to install LFS for
|
private static final java.lang.String[] ARGS_USER
private static final java.lang.String[] ARGS_LOCAL
private Repository repository
public java.lang.Void call() throws java.io.IOException, InvalidConfigurationException, java.lang.InterruptedException
call
in interface java.util.concurrent.Callable<java.lang.Void>
java.io.IOException
- if an I/O error occurs while accessing a git config or
executing git lfs install
in an external processInvalidConfigurationException
- if a git configuration is invalidjava.lang.InterruptedException
- if the current thread is interrupted while waiting for the
git lfs install
executed in an external processpublic LfsFactory.LfsInstallCommand setRepository(Repository repo)
setRepository
in interface LfsFactory.LfsInstallCommand
repo
- the repository to install LFS into locally instead of the user
configuration