Module sugar_cli::upload::uploader

source ·

Structs

Struct representing an asset ready for upload. An AssetInfo can represent a physical file, in which case the content will correspond to the name of the file; or an in-memory asset, in which case the content will correspond to the content of the asset.
A progress bar or spinner

Constants

Traits

Types that can upload assets in parallel.
Types that can be prepared to upload assets (files).
Types that can upload assets (files).

Functions

Returns a new uploader trait object based on the configuration uploadMethod.