Skip to content

Commit 8a24eb5

Browse files
Edits
1 parent 774d64c commit 8a24eb5

File tree

3 files changed

+21
-25
lines changed

3 files changed

+21
-25
lines changed

articles/storage/blobs/storage-blob-properties-metadata-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ In addition to the data they contain, blobs support system properties and user-d
4444

4545
To set properties on a blob, use the following method:
4646

47-
- [BlobClient.setHTTPHeaders](/javascript/api/@azure/storage-blob/blobclient#@azure-storage-blob-blobclient-sethttpheaders).
47+
- [BlobClient.setHTTPHeaders](/javascript/api/@azure/storage-blob/blobclient#@azure-storage-blob-blobclient-sethttpheaders)
4848

4949
The following code example sets the `blobContentType` and `blobContentLanguage` system properties on a blob.
5050

articles/storage/blobs/storage-blob-tags-javascript.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,6 @@ The Azure SDK for JavaScript contains libraries that build on top of the Azure R
126126
- [Set Blob Tags](/rest/api/storageservices/set-blob-tags) (REST API)
127127
- [Find Blobs by Tags](/rest/api/storageservices/find-blobs-by-tags) (REST API)
128128

129-
### Code samples
130-
131-
- [View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/JavaScript/NodeJS-v12/dev-guide/set-and-retrieve-blob-tags.js)
132-
133129
[!INCLUDE [storage-dev-guide-resources-javascript](../../../includes/storage-dev-guides/storage-dev-guide-resources-javascript.md)]
134130

135131
### See also

articles/storage/blobs/storage-blobs-tune-upload-download-javascript.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,16 @@ await blockBlobClient.uploadFile(localFilePath, uploadOptions);
7878

7979
```typescript
8080
// Specify data transfer options
81-
const uploadOptions: BlockBlobParallelUploadOptions = {
82-
blockSize: 4 * 1024 * 1024, // 4 MiB max block size
83-
concurrency: 2, // maximum number of parallel transfer workers
84-
maxSingleShotSize: 8 * 1024 * 1024, // 8 MiB initial transfer size
85-
};
81+
const uploadOptions: BlockBlobParallelUploadOptions = {
82+
blockSize: 4 * 1024 * 1024, // 4 MiB max block size
83+
concurrency: 2, // maximum number of parallel transfer workers
84+
maxSingleShotSize: 8 * 1024 * 1024, // 8 MiB initial transfer size
85+
};
8686

87-
// Create blob client from container client
88-
const blockBlobClient: BlockBlobClient = containerClient.getBlockBlobClient(blobName);
87+
// Create blob client from container client
88+
const blockBlobClient: BlockBlobClient = containerClient.getBlockBlobClient(blobName);
8989

90-
await blockBlobClient.uploadFile(localFilePath, uploadOptions);
90+
await blockBlobClient.uploadFile(localFilePath, uploadOptions);
9191
```
9292

9393
---
@@ -128,26 +128,26 @@ The following code example shows how to set values for [BlobDownloadToBufferOpti
128128

129129
```javascript
130130
// Specify data transfer options
131-
const downloadToBufferOptions = {
132-
blockSize: 4 * 1024 * 1024, // 4 MiB max block size
133-
concurrency: 2, // maximum number of parallel transfer workers
134-
}
131+
const downloadToBufferOptions = {
132+
blockSize: 4 * 1024 * 1024, // 4 MiB max block size
133+
concurrency: 2, // maximum number of parallel transfer workers
134+
}
135135

136-
// Download data to buffer
137-
const result = await client.downloadToBuffer(offset, count, downloadToBufferOptions);
136+
// Download data to buffer
137+
const result = await client.downloadToBuffer(offset, count, downloadToBufferOptions);
138138
```
139139

140140
#### [TypeScript](#tab/typescript)
141141

142142
```typescript
143143
// Specify data transfer options
144-
const downloadToBufferOptions: BlobDownloadToBufferOptions = {
145-
blockSize: 4 * 1024 * 1024, // 4 MiB max block size
146-
concurrency: 2, // maximum number of parallel transfer workers
147-
}
144+
const downloadToBufferOptions: BlobDownloadToBufferOptions = {
145+
blockSize: 4 * 1024 * 1024, // 4 MiB max block size
146+
concurrency: 2, // maximum number of parallel transfer workers
147+
}
148148

149-
// Download data to buffer
150-
const result = await client.downloadToBuffer(offset, count, downloadToBufferOptions);
149+
// Download data to buffer
150+
const result = await client.downloadToBuffer(offset, count, downloadToBufferOptions);
151151
```
152152

153153
---

0 commit comments

Comments
 (0)