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.LogRefUpdates
Permissible values for
core.logAllRefUpdates. |
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 CoreConfig.LogRefUpdates |
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()
Deprecated.
since 5.6; default value depends on whether the repository is
bare. Use
Config.getEnum(String, String, String, Enum)
directly. |
public static final Config.SectionParser<CoreConfig> KEY
Config.get(SectionParser).private final int compression
private final int packIndexVersion
private final CoreConfig.LogRefUpdates logAllRefUpdates
private final java.lang.String excludesfile
private final java.lang.String attributesfile
private CoreConfig(Config rc)
public int getCompression()
public int getPackIndexVersion()
@Deprecated public boolean isLogAllRefUpdates()
Config.getEnum(String, String, String, Enum)
directly.public java.lang.String getExcludesFile()
public java.lang.String getAttributesFile()