uploads_restorer.rb 299 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 module Gitlab module ImportExport class UploadsRestorer < UploadsSaver def restore return true unless File.directory?(uploads_export_path) copy_files(uploads_export_path, uploads_path) rescue => e @shared.error(e) false end end end end