GitHub user Xuanwo added a comment to the discussion: Native Pagination Support for File Listing in OpenDAL
> I'm using S3 and wanted to know how can I add offset and limit functionality > to this code. The API should support pagination for the frontend. opendal rust core provides an option called `start-after`, users can start list from offset in this way: ```rust let lister = op.lister_with(path).start_after(offset).await?; ``` But this feature seems not exported to python yet. Let's create an issue to track it. > Also, is there a way to get the total count of files in a directory without > listing all of them? Sadly, object storage services like s3 doesn't provide feature like this. We will need to list them all to get the count. GitHub link: https://github.com/apache/opendal/discussions/6040#discussioncomment-12863006 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
