Class InstallBuiltinLfsCommand

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Void>, LfsFactory.LfsInstallCommand

    public class InstallBuiltinLfsCommand
    extends java.lang.Object
    implements LfsFactory.LfsInstallCommand
    Installs all required LFS properties for the current user, analogous to 'git lfs install', but defaulting to using JGit builtin hooks.
    Since:
    4.11
    • Field Detail

      • ARGS_USER

        private static final java.lang.String[] ARGS_USER
      • ARGS_LOCAL

        private static final java.lang.String[] ARGS_LOCAL
    • Constructor Detail

      • InstallBuiltinLfsCommand

        public InstallBuiltinLfsCommand()
    • Method Detail

      • call

        public java.lang.Void call()
                            throws java.io.IOException,
                                   InvalidConfigurationException,
                                   java.lang.InterruptedException
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Void>
        Throws:
        java.io.IOException - if an I/O error occurs while accessing a git config or executing git lfs install in an external process
        InvalidConfigurationException - if a git configuration is invalid
        java.lang.InterruptedException - if the current thread is interrupted while waiting for the git lfs install executed in an external process