Upstream v1.5.12 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{
  basename: String.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
Link to this function get_result(job, timeout \\ 5000) View Source