@vtfk/azure-blob-client
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -110,3 +110,3 @@ /* | ||
* Lists all blobs for the provided path | ||
* @param {string?} path The path of the container | ||
* @param {string?} path The path of the container. Use '*' for all blobs | ||
* @param {object} options | ||
@@ -121,2 +121,3 @@ * @param {string?} options.connectionString The Azure storage account connection string | ||
// Set the path as the prefix | ||
if (path === '*') path = '' | ||
options.prefix = path; | ||
@@ -123,0 +124,0 @@ |
{ | ||
"name": "@vtfk/azure-blob-client", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "A client for working with Azure storage blobs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -44,3 +44,6 @@ # azure-blob-client | ||
// Yelds | ||
// Gets all blobs in container | ||
await blobClient.list('*'); | ||
// Yields | ||
[ | ||
@@ -47,0 +50,0 @@ { |
17810
296
176