Class CoreConfig

java.lang.Object
org.eclipse.jgit.lib.CoreConfig

public class CoreConfig extends Object
This class keeps git repository core parameters.
  • Field Details

  • Constructor Details

    • CoreConfig

      private CoreConfig(Config rc)
  • Method Details

    • getCompression

      public int getCompression()
      Get the compression level to use when storing loose objects
      Returns:
      The compression level to use when storing loose objects
    • getPackIndexVersion

      public int getPackIndexVersion()
      Get the preferred pack index file format; 0 for oldest possible.
      Returns:
      the preferred pack index file format; 0 for oldest possible.
    • isLogAllRefUpdates

      @Deprecated public boolean isLogAllRefUpdates()
      Deprecated.
      since 5.6; default value depends on whether the repository is bare. Use Config.getEnum(String, String, String, Enum) directly.
      Whether to log all refUpdates
      Returns:
      whether to log all refUpdates
    • getExcludesFile

      public String getExcludesFile()
      Get path of excludesfile
      Returns:
      path of excludesfile
    • getAttributesFile

      public String getAttributesFile()
      Get path of attributesfile
      Returns:
      path of attributesfile
      Since:
      3.7