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

Function findUvInPath

packages/python/src/uv.ts:53–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53export function findUvInPath(): string | null {
54 return findUvOnBuildImage() ?? which.sync('uv', { nothrow: true });
55}
56
57export function getUvCacheDir(workPath: string): string {
58 return join(workPath, ...UV_CACHE_DIR_SUBPATH);

Callers 2

prepareCacheFunction · 0.90
getInstalledPythonsFunction · 0.90

Calls 2

findUvOnBuildImageFunction · 0.85
syncMethod · 0.45

Tested by

no test coverage detected