Upstream v2.0.7 Upstream.B2.LargeFile behaviour View Source
Public facing api for B2 LargeFile
Link to this section Summary
Functions
Upstream.B2.LargeFile.start/1
Starts the uploading of the large_file on b2
Link to this section Functions
Link to this function
finish(auth, file_id, sha1_array)
View Source
finish(Upstream.B2.Account.Authorization.t(), any(), any()) :: {:error, struct()} | {:ok, struct()}
Upstream.B2.LargeFile.start/1
Starts the uploading of the large_file on b2
Link to this function
start(auth, file_name, metadata)
View Source
start(Upstream.B2.Account.Authorization.t(), any(), any()) :: {:error, struct()} | {:ok, struct()}
Link to this function
unfinished(auth)
View Source
unfinished(Upstream.B2.Account.Authorization.t()) :: {:error, struct()} | {:ok, struct()}
Link to this section Callbacks
Link to this callback
cancel(arg0, binary)
View Source
cancel(Upstream.B2.Account.Authorization.t(), binary()) :: {:error, struct()} | {:ok, struct()}
Link to this callback
finish(arg0, binary, list)
View Source
finish(Upstream.B2.Account.Authorization.t(), binary(), list()) :: {:error, struct()} | {:ok, struct()}
Link to this callback
start(arg0, binary, map)
View Source
start(Upstream.B2.Account.Authorization.t(), binary(), map()) :: {:error, struct()} | {:ok, struct()}
Link to this callback
unfinished(arg0)
View Source
unfinished(Upstream.B2.Account.Authorization.t()) :: {:error, struct()} | {:ok, struct()}