org.eclipse.jgit.lib
Class CoreConfig

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

public class CoreConfig
extends java.lang.Object

This class keeps git repository core parameters.


Field Summary
static Config.SectionParser<CoreConfig> KEY
          Key for Config.get(SectionParser).
 
Method Summary
 int getCompression()
           
 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
See Also:
ObjectWriter

getPackIndexVersion

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

isLogAllRefUpdates

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