Package org.eclipse.jgit.transport
Class TransferConfig
- java.lang.Object
-
- org.eclipse.jgit.transport.TransferConfig
-
public class TransferConfig extends Object
The standard "transfer", "fetch", "receive", and "uploadpack" configuration parameters.
-
-
Field Summary
Fields Modifier and Type Field Description static Config.SectionParser<TransferConfig>KEYKey forConfig.get(SectionParser).
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RefFiltergetRefFilter()booleanisAllowTipSha1InWant()booleanisFsckObjects()Deprecated.usenewObjectChecker()instead.ObjectCheckernewObjectChecker()
-
-
-
Field Detail
-
KEY
public static final Config.SectionParser<TransferConfig> KEY
Key forConfig.get(SectionParser).
-
-
Method Detail
-
isFsckObjects
@Deprecated public boolean isFsckObjects()
Deprecated.usenewObjectChecker()instead.- Returns:
- strictly verify received objects?
-
newObjectChecker
public ObjectChecker newObjectChecker()
- Returns:
- checker to verify fetched objects, or null if checking is not enabled in the repository configuration.
- Since:
- 3.6
-
isAllowTipSha1InWant
public boolean isAllowTipSha1InWant()
- Returns:
- allow clients to request non-advertised tip SHA-1s?
- Since:
- 3.1
-
-