Behaviour contract for storage backends.
Implement this behaviour to add a new backend. Callers should not
use the backend module directly — go through Attached.StorageBackends
(which dispatches to the configured backend).
Summary
Callbacks
Concatenate files at source_keys into a single file at destination_key.
Delete the file at key.
Delete files at keys starting with the prefix.
Download the file at key and return its binary content.
Return the partial content in the byte range of the file at key.
Return true if a file exists at key.
Upload a file from source_path to the given key.
Return a URL for the file at key.
Types
@type key() :: String.t()
Callbacks
Concatenate files at source_keys into a single file at destination_key.
Delete the file at key.
Delete files at keys starting with the prefix.
Download the file at key and return its binary content.
Return the partial content in the byte range of the file at key.
Return true if a file exists at key.
Upload a file from source_path to the given key.
Return a URL for the file at key.