Class PackWriter.PackfileUriConfig

  • Enclosing class:
    PackWriter

    public static class PackWriter.PackfileUriConfig
    extends Object
    Configuration related to the packfile URI feature.
    Since:
    5.5
    • Constructor Detail

      • 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