# File lib/zip/zip_file.rb, line 197 def replace(entry, srcPath) check_file(srcPath) remove(entry) add(entry, srcPath) end