You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2023/07/03 10:33:04 UTC
[GitHub] [incubator-opendal] Xuanwo added a comment to the discussion: How to check if a path or key exists?
GitHub user Xuanwo added a comment to the discussion: How to check if a path or key exists?
This simplest way is using [is_exist](https://docs.rs/opendal/0.38.0/opendal/struct.Operator.html#method.is_exist). The normal way is using [stat](https://docs.rs/opendal/0.38.0/opendal/struct.Operator.html#method.stat) and check the returning error code.
GitHub link: https://github.com/apache/incubator-opendal/discussions/2589#discussioncomment-6342870
----
This is an automatically sent email for commits@opendal.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@opendal.apache.org