org.eclipse.jgit.lib
Class CoreConfig

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

public class CoreConfig
extends Object

This class keeps git repository core parameters.


Nested Class Summary
static class CoreConfig.AutoCRLF
          Permissible values for core.autocrlf.
 
Field Summary
static Config.SectionParser<CoreConfig> KEY
          Key for Config.get(SectionParser).
 
Method Summary
 int getCompression()
           
 String getExcludesFile()
           
 int getPackIndexVersion()
           
 boolean isLogAllRefUpdates()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final Config.SectionParser<CoreConfig> KEY
Key for Config.get(SectionParser).

Method Detail

getCompression

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

getPackIndexVersion

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

isLogAllRefUpdates

public boolean isLogAllRefUpdates()
Returns:
whether to log all refUpdates

getExcludesFile

public String getExcludesFile()
Returns:
path of excludesfile


Copyright © 2012. All Rights Reserved.