public class TransferConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TransferConfig.FsckMode
A git configuration value for how to handle a fsck failure of a particular kind.
|
Modifier and Type | Field and Description |
---|---|
static Config.SectionParser<TransferConfig> |
KEY
Key for
Config.get(SectionParser) . |
Modifier and Type | Method and Description |
---|---|
RefFilter |
getRefFilter()
Get
RefFilter respecting configured
hidden refs. |
boolean |
isAllowFilter() |
boolean |
isAllowReachableSha1InWant()
Whether to allow clients to request non-tip SHA-1s
|
boolean |
isAllowTipSha1InWant()
Whether to allow clients to request non-advertised tip SHA-1s
|
ObjectChecker |
newObjectChecker()
Create checker to verify fetched objects
|
ObjectChecker |
newReceiveObjectChecker()
Create checker to verify objects pushed into this repository
|
public static final Config.SectionParser<TransferConfig> KEY
Config.get(SectionParser)
.@Nullable public ObjectChecker newObjectChecker()
@Nullable public ObjectChecker newReceiveObjectChecker()
public boolean isAllowTipSha1InWant()
public boolean isAllowReachableSha1InWant()
public boolean isAllowFilter()
Copyright © 2018 Eclipse JGit Project. All rights reserved.