Upstream v2.0.0 Upstream.Job View Source
Job module for making it easy to work with upload job by exposing file stats and file stream.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %Upstream.Job{ authorization: Upstream.B2.Account.Authorization.t(), content_length: integer(), full_path: String.t(), last_content_length: integer(), metadata: map(), stat: File.Stat.t(), stream: File.Stream.t(), threads: integer(), uid: map() }
Link to this section Functions
Link to this function
create(source_path, params, metadata \\ %{})
View Source
create(binary(), binary() | map(), any()) :: Upstream.Job.t()