gitlab-org--gitlab-foss/lib/gitlab/import_export.rb

14 lines
246 B
Ruby
Raw Normal View History

module Gitlab
2016-03-07 17:26:15 +00:00
module ImportExport
extend self
def export_path(relative_path:)
2016-04-22 10:18:11 +00:00
File.join(storage_path, relative_path)
2016-03-07 17:26:15 +00:00
end
def storage_path
File.join(Settings.shared['path'], 'tmp/project_exports')
end
end
end