* Builds the canonical URI for a bucket-level (ListObjectsV2) request. * * AWS (virtual-hosted-style): `/`. * Custom endpoint (path-style): `/{bucket}/`.
(ctx: S3Context)
| 246 | * Custom endpoint (path-style): `/{bucket}/`. |
| 247 | */ |
| 248 | function buildBucketPath(ctx: S3Context): string { |
| 249 | return ctx.endpoint ? `/${encodeS3PathComponent(ctx.bucket)}/` : '/' |
| 250 | } |
| 251 | |
| 252 | /** |
| 253 | * Builds the full request URL from the canonical path and an optional canonical |
no test coverage detected