Ji-Xinyou commented on code in PR #1892:
URL:
https://github.com/apache/incubator-opendal/pull/1892#discussion_r1161842252
##########
bindings/c/include/opendal.h:
##########
@@ -147,6 +148,16 @@ typedef struct opendal_result_read {
enum opendal_code code;
} opendal_result_read;
+/*
+ The result type for [`opendal_operator_is_exist()`], the field `exist`
+ contains whether the path exists, and the field `code` contains the
+ corresponding error code.
+ */
+typedef struct opendal_result_exist {
Review Comment:
I tend to let the similar types have the same prefix, e.g.
`opendal_result_`. The naming of `opendal_operator_is_exist_result` is a little
bit complex in the first place and is kind of ambiguous since user might think
it as `Whether the operator exists?`
--
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]