Xuanwo commented on code in PR #4878:
URL: https://github.com/apache/opendal/pull/4878#discussion_r1673357012
##########
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:
Builder is required to be blocking.
--
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]