GitHub user meteorgan added a comment to the discussion: Is there a way to tell 
if the file size is 0 or if the service doesn't provide size?

In fact, `content_length` is always available. Particularly, when the service 
can perform `stat` and `write` operations, we have a test to ensure that.
https://github.com/apache/opendal/blob/23f01dd545ebd2a7445f08cc5e7de8a19e70fb25/core/tests/behavior/async_stat.rs#L69-L86

GitHub link: 
https://github.com/apache/opendal/discussions/6323#discussioncomment-13536676

----
This is an automatically sent email for dev@opendal.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@opendal.apache.org

Reply via email to