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?
Hmmm, the `Fs` case is not the only case. The `content_length` returned `List` operations depends on each service's API, which, as you noted, can be confusing and needs clarification. what's your opinion ? @Xuanwo The good news is we don't always need to use `stat` to retrieve the size, only when the size is 0. GitHub link: https://github.com/apache/opendal/discussions/6323#discussioncomment-13538213 ---- This is an automatically sent email for dev@opendal.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@opendal.apache.org