MCPcopy Create free account
hub / github.com/vercel/vercel / archToUvPlatform

Function archToUvPlatform

packages/python/src/index.ts:380–382  ·  view source on GitHub ↗

Map an architecture name to a uv-compatible platform triple.

(arch: string)

Source from the content-addressed store, hash-verified

378
379/** Map an architecture name to a uv-compatible platform triple. */
380function archToUvPlatform(arch: string): string {
381 return `${validateBuildArch(arch)}-unknown-linux-gnu`;
382}
383
384/** Map an architecture name to a Lambda architecture value. */
385function archToLambdaArch(arch: string): 'x86_64' | 'arm64' {

Callers 1

getTargetPlatformFunction · 0.85

Calls 1

validateBuildArchFunction · 0.90

Tested by

no test coverage detected