You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by su...@apache.org on 2023/06/15 15:34:36 UTC

[incubator-opendal] branch main updated: fix(services/gcs): GCS should support create dir (#2467)

This is an automated email from the ASF dual-hosted git repository.

suyanhanx pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new c55c94e25 fix(services/gcs): GCS should support create dir (#2467)
c55c94e25 is described below

commit c55c94e250d5b7fe431a812ada277192478a3ae2
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Thu Jun 15 23:34:31 2023 +0800

    fix(services/gcs): GCS should support create dir (#2467)
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 core/src/services/gcs/backend.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/src/services/gcs/backend.rs b/core/src/services/gcs/backend.rs
index 93161637a..e9436359f 100644
--- a/core/src/services/gcs/backend.rs
+++ b/core/src/services/gcs/backend.rs
@@ -405,6 +405,8 @@ impl Accessor for GcsBackend {
             .set_root(&self.core.root)
             .set_name(&self.core.bucket)
             .set_capability(Capability {
+                create_dir: true,
+
                 stat: true,
                 stat_with_if_match: true,
                 stat_with_if_none_match: true,