mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:11:08 -06:00
54 lines
669 B
Ruby
54 lines
669 B
Ruby
module FileStore
|
|
|
|
class BaseStore
|
|
|
|
def store_upload(file, upload, content_type = nil)
|
|
end
|
|
|
|
def store_optimized_image(file, optimized_image)
|
|
end
|
|
|
|
def remove_upload(upload)
|
|
end
|
|
|
|
def remove_optimized_image(optimized_image)
|
|
end
|
|
|
|
def has_been_uploaded?(url)
|
|
end
|
|
|
|
def absolute_base_url
|
|
end
|
|
|
|
def relative_base_url
|
|
end
|
|
|
|
def download_url(upload)
|
|
end
|
|
|
|
def external?
|
|
end
|
|
|
|
def internal?
|
|
end
|
|
|
|
def path_for(upload)
|
|
end
|
|
|
|
def download(upload)
|
|
end
|
|
|
|
def avatar_template(avatar)
|
|
end
|
|
|
|
def purge_tombstone(grace_period)
|
|
end
|
|
|
|
def cdn_url(url)
|
|
url
|
|
end
|
|
|
|
end
|
|
|
|
end
|