upload_file_from_path

Function upload_file_from_path 

Source
pub fn upload_file_from_path(
    path: impl AsRef<Path>,
    purpose: FilePurpose,
) -> Result<FileUploadBuilder, Error>
Expand description

Helper function to upload a file from a path.