Method: Backup::Cleaner.remove_package

Defined in:
lib/backup/cleaner.rb

.remove_package(package) ⇒ Object

Remove the final package files from tmp_path Note: ‘force’ is used, since a Local Storage may move these files.



62
63
64
65
66
67
# File 'lib/backup/cleaner.rb', line 62

def remove_package(package)
  Logger.info "Cleaning up the package files..."
  package.filenames.each do |file|
    FileUtils.rm_f(File.join(Config.tmp_path, file))
  end
end