Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Implemented put_block and exported options

Pre-release
Pre-release
Compare
Choose a tag to compare
@MindFlavor MindFlavor released this 16 Jan 18:28
· 790 commits to master since this release

Implemented features:

  • Added support for put_block in Blob.
  • Added support for filter in Blob::list. Now you can filter the blobs to find specifying the starting string.
  • Added support for timeout in Blob::list.
  • Added support for timeout, prefix and max_results in Container::list.
  • Added support for max_results in Container::list. Now you can limit how many containers could be returned by a single call.
  • Added support for next_marker in Container::list. Now you can continue enumerating your containers in subsequent calls.

Refactoring:

  • Moved Container::list options in a separate structure (azure::storage::container::ListContainerOptions).
  • Moved Blob::put_page options in a separate structure (azure::storage::blob::PutPageOptions).

Bugfixes:

  • Corrected the format bug in azure::core::range::Range and azure::core::range::ba512_range::BA512Range. Previously the string returned was
    formatted as {}/{} which is invalid for the x-ms-range header. Now the format is bytes={}-{} as expected. I still need to figure out if
    I need to change the FromStr trait too to match the change.

Removed methods:

  • Removed ListBlobOptions::new as it was just useless boilerplate.