Function upload

Source
pub(crate) async fn upload(
    client: &Client,
    body_path: &PathBuf,
    bucket: &str,
    key: &str,
) -> Result<(), Error>
Expand description

ยงUploads the specified file

This will upload the contents of the file in body_path to the bucket with the specified key