ClSlaid commented on code in PR #1869:
URL: 
https://github.com/apache/incubator-opendal/pull/1869#discussion_r1160512946


##########
core/src/services/gcs/backend.rs:
##########
@@ -405,6 +407,50 @@ impl Accessor for GcsBackend {
         ))
     }
 
+    async fn copy(&self, from: &str, to: &str, _: OpCopy) -> Result<RpCopy> {
+        let source = percent_encode_path(&build_abs_path(&self.root, 
from.trim_end_matches("/")));
+        let dest = percent_encode_path(&build_abs_path(&self.root, 
to.trim_end_matches("/")));
+        let req_uri = format!(
+            "{}/storage/v1/b/{}/o/{}/rewriteTo/b/{}/o/{}",

Review Comment:
   Makes sense, will fix it later before night.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to