Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/import_export_uploader.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/uploaders/import_export_uploader.rb b/app/uploaders/import_export_uploader.rb
index b0e6464f5b1..369afba2bae 100644
--- a/app/uploaders/import_export_uploader.rb
+++ b/app/uploaders/import_export_uploader.rb
@@ -14,4 +14,12 @@ class ImportExportUploader < AttachmentUploader
def move_to_cache
false
end
+
+ def work_dir
+ File.join(Settings.shared['path'], 'tmp', 'work')
+ end
+
+ def cache_dir
+ File.join(Settings.shared['path'], 'tmp', 'cache')
+ end
end