Class: Import::AfterExportStrategies::MoveFileStrategy
- Inherits:
-
BaseAfterExportStrategy
- Object
- BaseAfterExportStrategy
- Import::AfterExportStrategies::MoveFileStrategy
- Defined in:
- lib/import/after_export_strategies/move_file_strategy.rb
Constant Summary
Constants inherited from BaseAfterExportStrategy
BaseAfterExportStrategy::StrategyError
Constants included from Gitlab::ImportExport::CommandLineUtil
Gitlab::ImportExport::CommandLineUtil::CLEAN_DIR_IGNORE_FILE_NAMES, Gitlab::ImportExport::CommandLineUtil::CommandLineUtilError, Gitlab::ImportExport::CommandLineUtil::DEFAULT_DIR_MODE, Gitlab::ImportExport::CommandLineUtil::FileOversizedError, Gitlab::ImportExport::CommandLineUtil::HardLinkError, Gitlab::ImportExport::CommandLineUtil::UNTAR_MASK
Instance Method Summary collapse
-
#initialize(archive_path:) ⇒ MoveFileStrategy
constructor
A new instance of MoveFileStrategy.
Methods inherited from BaseAfterExportStrategy
#archive_path, #ensure_export_ready!, #ensure_lock_files_path!, #execute, #lock_files_path, #locks_present?, #method_missing, #respond_to_missing?, #to_json
Methods included from Gitlab::ImportExport::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.
6 7 8 9 |
# File 'lib/import/after_export_strategies/move_file_strategy.rb', line 6 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 Import::AfterExportStrategies::BaseAfterExportStrategy