Class: Gitlab::ImportExport::AfterExportStrategies::MoveFileStrategy

Inherits:
BaseAfterExportStrategy show all
Defined in:
lib/gitlab/import_export/after_export_strategies/move_file_strategy.rb

Constant Summary

Constants inherited from BaseAfterExportStrategy

BaseAfterExportStrategy::StrategyError

Constants included from CommandLineUtil

CommandLineUtil::CLEAN_DIR_IGNORE_FILE_NAMES, CommandLineUtil::CommandLineUtilError, CommandLineUtil::DEFAULT_DIR_MODE, CommandLineUtil::FileOversizedError, CommandLineUtil::HardLinkError, CommandLineUtil::UNTAR_MASK

Instance Method Summary collapse

Methods inherited from BaseAfterExportStrategy

#archive_path, #ensure_export_ready!, #ensure_lock_files_path!, #execute, #lock_files_path, #locks_present?, #method_missing, #to_json

Methods included from CommandLineUtil

#gunzip, #gzip, #gzip_with_options, #mkdir_p, #tar_cf, #tar_czf, #untar_xf, #untar_zxf

Constructor Details

#initialize(archive_path:) ⇒ MoveFileStrategy

Returns a new instance of MoveFileStrategy.



7
8
9
10
# File 'lib/gitlab/import_export/after_export_strategies/move_file_strategy.rb', line 7

def initialize(archive_path:)
  super
  @archive_path = archive_path
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Gitlab::ImportExport::AfterExportStrategies::BaseAfterExportStrategy