class Bundler::CompactIndexClient

def update(local_path, remote_path)

def update(local_path, remote_path)
  Bundler::CompactIndexClient.debug { "update(#{local_path}, #{remote_path})" }
  unless synchronize { @endpoints.add?(remote_path) }
    Bundler::CompactIndexClient.debug { "already fetched #{remote_path}" }
    return
  end
  @updater.update(local_path, url(remote_path))
end