Class PackWriter.PackfileUriConfig
java.lang.Object
org.eclipse.jgit.internal.storage.pack.PackWriter.PackfileUriConfig
- Enclosing class:
PackWriter
Configuration related to the packfile URI feature.
- Since:
- 5.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CachedPackUriProvider
private final PacketLineOut
private final Collection
<String> -
Constructor Summary
ConstructorsConstructorDescriptionPackfileUriConfig
(PacketLineOut pckOut, Collection<String> protocolsSupported, CachedPackUriProvider cachedPackUriProvider) -
Method Summary
-
Field Details
-
pckOut
-
protocolsSupported
-
cachedPackUriProvider
-
-
Constructor Details
-
PackfileUriConfig
public PackfileUriConfig(@NonNull PacketLineOut pckOut, @NonNull Collection<String> protocolsSupported, @NonNull CachedPackUriProvider cachedPackUriProvider) - Parameters:
pckOut
- where to write "packfile-uri" lines to (should output to the same stream as the one passed to PackWriter#writePack)protocolsSupported
- list of protocols supported (e.g. "https")cachedPackUriProvider
- provider of URIs corresponding to cached packs- Since:
- 5.5
-