Skip to content

Commit d69ba6e

Browse files
ljian3377Lin Jian
andauthored
[storage] add convenience methods exists, createIfNotExists, deleteIfExists (Azure#8964)
* [storage-blob] add CreateIfNotExists and DeleteIfExists for Container and Blob * [storage-flie-share] add CreateIfNotExists and DeleteIfExists * restore package.json * [storage-queue] add createIfNotExists and deleteIfExists * add exists for storage-file-share * add createIfNotExists and deleteIfExists for storage-file-datalake * record tests * fix typo * change return type - blob * change return type - datalake * change return type - file * change return type - queue Co-authored-by: Lin Jian <[email protected]>
1 parent 0616689 commit d69ba6e

File tree

71 files changed

+7223
-162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+7223
-162
lines changed

sdk/storage/storage-blob/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release History
22

3+
## 12.2.0 (unreleased)
4+
5+
- Added convenience method `createIfNotExists` for `ContainerClient`, `AppendBlobClient` and `PageBlobClient`.
6+
- Added convenience method `deleteIfExists` for `ContainerClient` and `BlobClients`.
7+
38
## 12.1.2 (2020.05)
49

510
- Fix data corruption failure error [issue #6411](https://github.com/Azure/azure-sdk-for-js/issues/6411) when downloading compressed files. [PR #7993](https://github.com/Azure/azure-sdk-for-js/pull/7993)

sdk/storage/storage-blob/recordings/browsers/appendblobclient/recording_createifnotexists.json

Lines changed: 87 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/storage/storage-blob/recordings/browsers/blobclient/recording_delete_snapshot.json

Lines changed: 97 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)