Class: Gitlab::ImportExport::SnippetRepoSaver
- Defined in:
- lib/gitlab/import_export/snippet_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
Instance Method Summary collapse
-
#initialize(project:, shared:, repository:) ⇒ SnippetRepoSaver
constructor
A new instance of SnippetRepoSaver.
Methods inherited from RepoSaver
Methods included from CommandLineUtil
#gunzip, #gzip, #gzip_with_options, #mkdir_p, #tar_cf, #tar_czf, #untar_xf, #untar_zxf
Constructor Details
#initialize(project:, shared:, repository:) ⇒ SnippetRepoSaver
Returns a new instance of SnippetRepoSaver.
6 7 8 9 10 |
# File 'lib/gitlab/import_export/snippet_repo_saver.rb', line 6 def initialize(project:, shared:, repository:) @project = project @shared = shared @repository = repository end |