Skip to content

Commit

Permalink
Document new copying behavior from Automattic#190.
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jul 13, 2013
1 parent 4982329 commit 9d1f2cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,18 +187,18 @@ client.copyFile('/source.txt', '/dest.txt', function(err, res){

even between buckets:


```js
client.copyTo('/source.txt', 'dest-bucket', '/dest.txt').on('response', function(res){
// ...
}).end();
```

// or
and even between buckets in different regions:

client.copyFileTo('/source.txt', 'dest-bucket', '/dest.txt', function (err, res){
```js
client.copyTo('/source.txt', { region: 'us-west-2', bucket: 'dest-bucket' }, '/dest.txt', function(res){
// ...
});

}).end();
```

or [deleting multiple files at once][multi-delete]:
Expand Down

0 comments on commit 9d1f2cc

Please sign in to comment.