Package org.eclipse.jgit.lib
Class CoreConfig
- java.lang.Object
-
- org.eclipse.jgit.lib.CoreConfig
-
public class CoreConfig extends java.lang.Object
This class keeps git repository core parameters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoreConfig.AutoCRLF
Permissible values forcore.autocrlf
.static class
CoreConfig.CheckStat
Permissible values forcore.checkstat
static class
CoreConfig.HideDotFiles
Options for hiding files whose names start with a periodstatic class
CoreConfig.SymLinks
Options for symlink handling
-
Field Summary
Fields Modifier and Type Field Description static Config.SectionParser<CoreConfig>
KEY
Key forConfig.get(SectionParser)
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAttributesFile()
int
getCompression()
java.lang.String
getExcludesFile()
int
getPackIndexVersion()
boolean
isLogAllRefUpdates()
-
-
-
Field Detail
-
KEY
public static final Config.SectionParser<CoreConfig> KEY
Key forConfig.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 java.lang.String getExcludesFile()
- Returns:
- path of excludesfile
-
getAttributesFile
public java.lang.String getAttributesFile()
- Returns:
- path of attributesfile
- Since:
- 3.7
-
-