(credentials: { username: string; accessKey: string })
| 10 | } |
| 11 | |
| 12 | export function basicAuthHeader(credentials: { username: string; accessKey: string }): string { |
| 13 | return `Basic ${Buffer.from(`${credentials.username}:${credentials.accessKey}`).toString('base64')}`; |
| 14 | } |
| 15 | |
| 16 | export function trimLeadingSlash(value: string): string { |
| 17 | let firstNonSlash = 0; |
no outgoing calls
no test coverage detected