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>
KEY
Key forConfig.get(SectionParser)
.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RefFilter
getRefFilter()
boolean
isAllowTipSha1InWant()
boolean
isFsckObjects()
Deprecated.usenewObjectChecker()
instead.ObjectChecker
newObjectChecker()
-
-
-
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
-
-