class Bundler::CompactIndexClient::Updater
def copy_file(source, dest)
def copy_file(source, dest) SharedHelpers.filesystem_access(source, :read) do File.open(source, "r") do |s| SharedHelpers.filesystem_access(dest, :write) do File.open(dest, "wb", s.stat.mode) do |f| IO.copy_stream(s, f) end end end end end