exfile v0.0.2 Exfile.Backend behaviour
Summary
Functions
A convenience function to call `backend.backend_mod.delete(backend, file_id)
A convenience function to call `backend.backend_mod.exists?(backend, file_id)
A convenience function to call `backend.backend_mod.get(backend, file_id)
A convenience function to call `backend.backend_mod.open(backend, file_id)
A convenience function to call `backend.backend_mod.path(backend, file_id)
A convenience function to call `backend.backend_mod.size(backend, file_id)
A convenience function to call `backend.backend_mod.upload(backend, uploadable)
Types
Functions
A convenience function to call `backend.backend_mod.delete(backend, file_id)
A convenience function to call `backend.backend_mod.exists?(backend, file_id)
Callbacks
Specs
upload(backend, uploadable) ::
{:ok, Exfile.File.t} |
{:error, atom}