Skip to content

storage: updated documentation for read / write stream events #884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/storage/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ File.prototype.move = function(destination, callback) {
* "CONTENT_DOWNLOAD_MISMATCH". If you receive this error, the best recourse is
* to try downloading the file again.
*
* NOTE: Readable streams will emit the `complete` event when the file is fully
* NOTE: Readable streams will emit the `end` event when the file is fully
* downloaded.
*
* @param {object=} options - Configuration object.
Expand Down Expand Up @@ -622,7 +622,7 @@ File.prototype.createResumableUpload = function(metadata, callback) {
* Resumable uploads are automatically enabled and must be shut off explicitly
* by setting `options.resumable` to `false`.
*
* NOTE: Writable streams will emit the `complete` event when the file is fully
* NOTE: Writable streams will emit the `finish` event when the file is fully
* uploaded.
*
* @resource [Upload Options (Simple or Resumable)]{@link https://cloud.google.com/storage/docs/json_api/v1/how-tos/upload#uploads}
Expand Down