Files
seaweedfs/weed/s3api
Chris Lu e88392b50f Fix s3 pagination (#3436)
* Revert previous changes

* s3: use cursor to track tree traversal

fix https://github.com/seaweedfs/seaweedfs/issues/3166

* special cases for empty prefix and empty directory

* use constants

* address empty folder

* undo local changes

* fix IsTruncated

* adjust counting directories

* fix cases when prefix is a directory

* s3: handle directory object

works for

aws --endpoint-url http://127.0.0.1:8333/ s3api list-objects-v2 --bucket test --prefix "fakedir"
2022-08-15 00:30:19 -07:00
..
2018-07-18 02:37:09 -07:00
2018-07-18 02:37:09 -07:00
2020-02-26 16:52:57 -08:00
2021-10-11 15:03:56 +05:00
2022-02-26 22:44:26 +08:00
2022-08-07 01:34:32 -07:00

see https://blog.aqwari.net/xml-schema-go/

1. go get aqwari.net/xml/cmd/xsdgen
2. xsdgen -o s3api_xsd_generated.go -pkg s3api AmazonS3.xsd