Upstream v1.3.5 Upstream.B2.LargeFile View Source

Public facing api for B2 LargeFile

Link to this section Summary

Link to this section Functions

Link to this function cancel(file_id) View Source
cancel(String.t()) :: {:ok | :error, %Upstream.B2.LargeFile.Cancel{account_id: term(), bucket_id: term(), file_id: term(), file_name: term()} | struct()}
Link to this function finish(file_id, sha1_array) View Source
Link to this function start(file_name) View Source
start(String.t()) :: {:ok | :error, %Upstream.B2.LargeFile.Start{account_id: term(), bucket_id: term(), content_type: term(), file_id: term(), file_info: term(), file_name: term(), upload_timestamp: term()} | struct()}

Upstream.B2.LargeFile.start/1 Starts the uploading of the large_file on b2

Link to this function start(file_name, metadata) View Source