Package org.eclipse.jgit.lib.CoreConfig

Examples of org.eclipse.jgit.lib.CoreConfig.HideDotFiles


    if (cfg.getFile().exists()) {
      throw new IllegalStateException(MessageFormat.format(
          JGitText.get().repositoryAlreadyExists, getDirectory()));
    }
    FileUtils.mkdirs(getDirectory(), true);
    HideDotFiles hideDotFiles = getConfig().getEnum(
        ConfigConstants.CONFIG_CORE_SECTION, null,
        ConfigConstants.CONFIG_KEY_HIDEDOTFILES,
        HideDotFiles.DOTGITONLY);
    if (hideDotFiles != HideDotFiles.FALSE && !isBare())
      getFS().setHidden(getDirectory(), true);
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.lib.CoreConfig.HideDotFiles

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.