Skip to content

Commit c53e94d

Browse files
committed
---
yaml --- r: 227 b: refs/heads/master c: 703575b h: refs/heads/master i: 225: 4d6f28c 223: cbd2677 v: v3
1 parent 55abd01 commit c53e94d

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
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: c5ca4503e41653e8a4133626a772c31496fac7cf
2+
refs/heads/master: 703575bea4c585001ab52751f8069243764ec957

trunk/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)