Upstream v2.1.1 Upstream.B2.LargeFile.Finish View Source

Handles finishing large file uploading

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Upstream.B2.LargeFile.Finish{
  account_id: String.t(),
  action: String.t(),
  bucket_id: String.t(),
  content_length: integer(),
  content_sha1: String.t(),
  content_type: String.t(),
  file_id: String.t(),
  file_info: map(),
  file_name: String.t(),
  upload_timestamp: integer()
}

Link to this section Functions

Callback implementation for Upstream.B2.Base.body/1.

Link to this function call(auth, options \\ []) View Source
call(Upstream.B2.Account.Authorization.t() | nil, Keyword.t()) ::
  {:ok | :error,
   %Upstream.B2.LargeFile.Finish{
     account_id: term(),
     action: term(),
     bucket_id: term(),
     content_length: term(),
     content_sha1: term(),
     content_type: term(),
     file_id: term(),
     file_info: term(),
     file_name: term(),
     upload_timestamp: term()
   }
   | struct()}

Callback implementation for Upstream.B2.Base.header/2.

Callback implementation for Upstream.B2.Base.url/2.