Skip to content

S3: list folders through list_children #116

Backlog
Backlog

Description

@Mearman

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

  1. added theissue type on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions