GitHub user Xuanwo added a comment to the discussion: Return whether file has 
been deleted succesfully when `delete` is used.

We don't need that. Because what we ensure is "if delete returns `Ok(())`, this 
file must be non-exist". Here are two conditions: the file has been deleted or 
the file didn't exist for the first place.

In either cases, you don't need to check object metadata after calling 
`delete()`.

---

If you do find that a file is still exist after `delete()` returns `Ok(())`. 
It's likely to be a bug, please report which service you are using.

GitHub link: 
https://github.com/apache/opendal/discussions/7414#discussioncomment-16625543

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to