View Source Azurex.Blob.Block (AzureX v1.1.0)
Implementation of Azure Blob Storage.
You can:
Summary
Functions
@spec put_block(String.t(), bitstring(), String.t(), list()) :: {:ok, String.t()} | {:error, term()}
Creates a block to be committed to a blob.
On success, returns an :ok tuple with the base64 encoded block_id.
Link to this function
put_block_list(block_ids, container, name, blob_content_type, params)
View Source@spec put_block_list(list(), String.t(), String.t(), String.t() | nil, list()) :: :ok | {:error, term()}
Commits the given list of block_ids to a blob.
Block IDs should be base64 encoded, as returned by put_block/2.