(platform: { os?: string; architecture?: string })
| 27 | * @returns Normalized platform string in format "os/arch" (e.g., "linux/amd64") |
| 28 | */ |
| 29 | export function normalizeDockerPlatform(platform: { os?: string; architecture?: string }): string { |
| 30 | const os = normalizeDockerOS(platform.os); |
| 31 | const arch = normalizeDockerArchitecture(platform.architecture); |
| 32 | return `${os}/${arch}`; |
| 33 | } |
no test coverage detected