discourse/lib/file_store/base_store.rb

47 lines
591 B
Ruby
Raw Normal View History

2013-11-06 02:04:47 +08:00
module FileStore
class BaseStore
2014-04-15 19:04:14 +08:00
def store_upload(file, upload, content_type = nil)
2013-11-06 02:04:47 +08:00
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 external?
end
def internal?
end
def path_for(upload)
end
def download(upload)
end
def avatar_template(avatar)
2013-11-06 02:04:47 +08:00
end
2013-11-28 05:01:41 +08:00
def purge_tombstone(grace_period)
end
2013-11-06 02:04:47 +08:00
end
end