Class: Gitlab::ImportExport::WikiRepoSaver

Inherits:
RepoSaver
  • Object
show all
Extended by:
Utils::Override
Defined in:
lib/gitlab/import_export/wiki_repo_saver.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 RepoSaver

#exportable, #shared

Instance Method Summary collapse

Methods included from Utils::Override

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

Methods inherited from RepoSaver

#initialize, #save

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::RepoSaver

Instance Method Details

#repositoryObject



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

def repository
  @repository ||= exportable.wiki.repository
end