class Bundler::CompactIndexClient::Cache
def fetch(remote_path, path, etag_path)
def fetch(remote_path, path, etag_path) if already_fetched?(remote_path) Bundler::CompactIndexClient.debug { "already fetched #{remote_path}" } else Bundler::CompactIndexClient.debug { "fetching #{remote_path}" } @updater&.update(remote_path, path, etag_path) end read(path) end