You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
S3Backend has no folder listing: list_children on main inherits the trait's empty default, so any presenter that browses an S3 backend (FUSE, WebDAV expansion, the FFI, the CLI) sees every directory as empty. The FUSE mount fix on fix/fuse-mount-listing adds Backend::lists_children(), which S3 answers false, so the mount fails an S3 listing with an error instead of showing it empty; the other presenters still see empty folders, and S3 still cannot be browsed.
Wanted: list_children for the root and for a folder prefix, one level deep (ListObjectsV2 with delimiter=/), paging through NextContinuationToken, an object key given as a parent being an error, metadata resolving a prefix with no object of its own as a folder, and lists_children() returning true once it does. Listing XML needs entity decoding, with an unknown entity as an error.
An implementation exists on fix/fuse-runtime-handle (#100, parked), in commits 3c63a2e and fb11943, with tests in crates/backend-s3/tests/folder_listing.rs. It was split out because the same branch also changed S3 folder delete and move; those belong with the transfer work, and this issue covers listing only.
Activity