Skip to content

Commit

Permalink
Add "renaming" instructions to docs (#2401)
Browse files Browse the repository at this point in the history
Allows users to CTRL/Cmd-F for "rename" to find the move command.
  • Loading branch information
Ace Nassri authored and stephenplusplus committed Jun 20, 2017
1 parent 02afcef commit a8ee79e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/storage/src/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -1629,9 +1629,9 @@ File.prototype.makePublic = function(callback) {
};

/**
* Move this file to another location. By default, this will move the file to
* the same bucket, but you can choose to move it to another Bucket by providing
* a Bucket or File object or a URL beginning with "gs://".
* Move this file to another location. By default, this will rename the file
* and keep it in the same bucket, but you can choose to move it to another
* Bucket by providing a Bucket or File object or a URL beginning with "gs://".
*
* **Warning**:
* There is currently no atomic `move` method in the Cloud Storage API,
Expand Down

0 comments on commit a8ee79e

Please sign in to comment.