George-Miao commented on code in PR #4878:
URL: https://github.com/apache/opendal/pull/4878#discussion_r1673354045


##########
core/src/services/compfs/backend.rs:
##########
@@ -63,6 +63,19 @@ impl Builder for CompfsBuilder {
                 "root is not specified",
             )),
         }?;
+
+        // If root dir is not exist, we must create it.
+        if let Err(e) = std::fs::metadata(&root) {

Review Comment:
   Should we also dispatch this part? It's blocking.



##########
core/src/services/compfs/backend.rs:
##########
@@ -63,6 +63,19 @@ impl Builder for CompfsBuilder {
                 "root is not specified",
             )),
         }?;
+
+        // If root dir is not exist, we must create it.

Review Comment:
   does not



-- 
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