Skip to content

Commit b8c5e74

Browse files
committed
---
yaml --- r: 5987 b: refs/heads/tswast-patch-1 c: 703575b h: refs/heads/master i: 5985: 5e46cf5 5983: 07b1e9f
1 parent 185dff2 commit b8c5e74

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: c5ca4503e41653e8a4133626a772c31496fac7cf
60+
refs/heads/tswast-patch-1: 703575bea4c585001ab52751f8069243764ec957
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/src/main/java/com/google/gcloud/storage/StorageService.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,10 @@ public static CopyRequest of(String sourceBucket, String sourceBlob, Blob target
390390
return builder().source(sourceBucket, sourceBlob).target(target).build();
391391
}
392392

393+
public static CopyRequest of(String sourceBucket, String sourceBlob, String targetBlob) {
394+
return of(sourceBucket, sourceBlob, Blob.of(sourceBucket, targetBlob));
395+
}
396+
393397
public static Builder builder() {
394398
return new Builder();
395399
}

0 commit comments

Comments
 (0)