(pathComponent: string)
| 1 | import crypto from 'crypto' |
| 2 | |
| 3 | export function encodeS3PathComponent(pathComponent: string): string { |
| 4 | return encodeURIComponent(pathComponent).replace(/%2F/g, '/') |
| 5 | } |
| 6 | |
| 7 | export function getSignatureKey( |
| 8 | key: string, |
no test coverage detected