public class CoreConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CoreConfig.AutoCRLF
Permissible values for
core.autocrlf . |
static class |
CoreConfig.CheckStat
Permissible values for
core.checkstat |
static class |
CoreConfig.EOL
Permissible values for
core.eol . |
static class |
CoreConfig.EolStreamType
EOL stream conversion protocol
|
static class |
CoreConfig.HideDotFiles
Options for hiding files whose names start with a period
|
static class |
CoreConfig.SymLinks
Options for symlink handling
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
attributesfile |
private int |
compression |
private java.lang.String |
excludesfile |
static Config.SectionParser<CoreConfig> |
KEY
Key for
Config.get(SectionParser) . |
private boolean |
logAllRefUpdates |
private int |
packIndexVersion |
Modifier | Constructor and Description |
---|---|
private |
CoreConfig(Config rc) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributesFile()
Get path of attributesfile
|
int |
getCompression()
Get the compression level to use when storing loose objects
|
java.lang.String |
getExcludesFile()
Get path of excludesfile
|
int |
getPackIndexVersion()
Get the preferred pack index file format; 0 for oldest possible.
|
boolean |
isLogAllRefUpdates()
Whether to log all refUpdates
|
public static final Config.SectionParser<CoreConfig> KEY
Config.get(SectionParser)
.private final int compression
private final int packIndexVersion
private final boolean logAllRefUpdates
private final java.lang.String excludesfile
private final java.lang.String attributesfile
private CoreConfig(Config rc)
public int getCompression()
public int getPackIndexVersion()
public boolean isLogAllRefUpdates()
public java.lang.String getExcludesFile()
public java.lang.String getAttributesFile()