(loc: S3Location)
| 56 | |
| 57 | /** Build `s3://bucket/key` from a location. */ |
| 58 | export function formatS3Uri(loc: S3Location): string { |
| 59 | return `s3://${loc.bucket}/${loc.key}`; |
| 60 | } |
| 61 | |
| 62 | /** Stream an S3 object to a local file path. Throws if the body is missing. */ |
| 63 | export async function downloadS3ObjectToFile( |
no outgoing calls
no test coverage detected