Class: Gitlab::ImportExport::DesignRepoRestorer

Inherits:
RepoRestorer
  • Object
show all
Extended by:
Utils::Override
Defined in:
lib/gitlab/import_export/design_repo_restorer.rb

Constant Summary

Constants included from CommandLineUtil

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

Instance Attribute Summary

Attributes inherited from RepoRestorer

#importable

Instance Method Summary collapse

Methods included from Utils::Override

extended, extensions, included, method_added, override, prepended, queue_verification, verify!

Methods inherited from RepoRestorer

#initialize, #restore

Methods included from CommandLineUtil

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

Constructor Details

This class inherits a constructor from Gitlab::ImportExport::RepoRestorer

Instance Method Details

#repositoryObject



9
10
11
# File 'lib/gitlab/import_export/design_repo_restorer.rb', line 9

def repository
  @repository ||= importable.design_repository
end