class

Bundler::Fetcher::CompactIndex

ruby latest stable - Superclass: Bundler::Fetcher::Base

Class not available on this version

This class is only available on newer versions. The first available version (v2_6_3) is shown here.

No documentation available for this class.

Constants

ClientFetcher = Struct.new(:fetcher, :ui) do\ndef call(path, headers)\nfetcher.downloader.fetch(fetcher.fetch_uri + path, headers)\nrescue NetworkDownError => e\nraise unless Bundler.feature_flag.allow_offline_install? && headers["If-None-Match"]\nui.warn "Using the cached data for the new index because of a network error: #{e}"\nNet::HTTPNotModified.new(nil, nil, nil)\nend\nend

Files

  • lib/bundler/fetcher/compact_index.rb