Commit 16756c20 authored by James Lopez's avatar James Lopez

add small comment to download method in uploads manager

parent dae0d809
...@@ -97,6 +97,7 @@ module Gitlab ...@@ -97,6 +97,7 @@ module Gitlab
mkdir_p(File.join(uploads_export_path, secret)) mkdir_p(File.join(uploads_export_path, secret))
File.open(upload_path, 'w') do |file| File.open(upload_path, 'w') do |file|
# Download (stream) file from the uploader's location
IO.copy_stream(URI.parse(upload.file.url).open, file) IO.copy_stream(URI.parse(upload.file.url).open, file)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment